Interface ManagedObjectNode
- All Superinterfaces:
AdministerableManagedObject,BoundManagedObjectNode,DependentManagedObject,DependentObjectNode,GovernerableManagedObject,LinkObjectNode,ManagedObjectExtensionNode,Node,OfficeDependencyObjectNode,OfficeFloorDependencyObjectNode,OfficeFloorManagedObject,OfficeManagedObject,OfficeSectionManagedObject,SectionDependencyObjectNode,SectionManagedObject
- All Known Implementing Classes:
ManagedObjectNodeImpl
public interface ManagedObjectNode
extends DependentObjectNode, BoundManagedObjectNode, ManagedObjectExtensionNode, SectionManagedObject, OfficeSectionManagedObject, OfficeManagedObject, OfficeFloorManagedObject
Node representing an instance use of a
ManagedObject.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidautoWireDependencies(AutoWirer<LinkObjectNode> autoWirer, OfficeNode office, CompileContext compileContext) Auto-wires the dependencies for theManagedObject.createExecutionManagedObject(CompileContext compileContext) Creates theExecutionManagedObjectfor thisManagedObjectNode.Obtains theManagedObjectDependencyNodeinstances.Obtains theManagedObjectSourceNodefor thisManagedObjectNode.getTypeQualifications(CompileContext compileContext) Obtains theTypeQualificationinstances for theManagedObject.voidinitialise(ManagedObjectScope managedObjectScope, ManagedObjectSourceNode managedObjectSourceNode) Initialises theManagedObjectNode.loadOfficeSectionManagedObjectType(CompileContext compileContext) Loads theOfficeSectionManagedObjectType.booleanrunExecutionExplorers(CompileContext compileContext) Runs theExecutionObjectExplorerinstances for theManagedObject.booleansourceManagedObject(CompileContext compileContext) Sources theManagedObject.Methods inherited from interface net.officefloor.compile.spi.office.AdministerableManagedObject
getAdministerableManagedObjectNameMethods inherited from interface net.officefloor.compile.internal.structure.BoundManagedObjectNode
addGovernance, addPreLoadAdministration, buildFunctionManagedObject, buildOfficeManagedObject, buildSupplierThreadLocal, getBoundManagedObjectNameMethods inherited from interface net.officefloor.compile.spi.office.DependentManagedObject
getDependentManagedObjectNameMethods inherited from interface net.officefloor.compile.internal.structure.DependentObjectNode
loadDependentObjectTypeMethods inherited from interface net.officefloor.compile.spi.office.GovernerableManagedObject
getGovernerableManagedObjectNameMethods inherited from interface net.officefloor.compile.internal.structure.LinkObjectNode
getLinkedObjectNode, linkObjectNodeMethods inherited from interface net.officefloor.compile.internal.structure.Node
getChildNodes, getLocation, getNodeName, getNodeType, getParentNode, getQualifiedName, getQualifiedName, isInitialisedMethods inherited from interface net.officefloor.compile.spi.officefloor.OfficeFloorManagedObject
addTypeQualification, getOfficeFloorManagedObjectDependency, getOfficeFloorManagedObjectNameMethods inherited from interface net.officefloor.compile.spi.office.OfficeManagedObject
addExecutionExplorer, addPreLoadAdministration, addTypeQualification, getOfficeManagedObjectDependency, getOfficeManagedObjectNameMethods inherited from interface net.officefloor.compile.spi.office.OfficeSectionManagedObject
addPreLoadAdministration, getOfficeSectionManagedObjectNameMethods inherited from interface net.officefloor.compile.spi.section.SectionManagedObject
addTypeQualification, getSectionManagedObjectDependency, getSectionManagedObjectName
-
Field Details
-
TYPE
Nodetype.- See Also:
-
-
Method Details
-
initialise
void initialise(ManagedObjectScope managedObjectScope, ManagedObjectSourceNode managedObjectSourceNode) Initialises theManagedObjectNode.- Parameters:
managedObjectScope-ManagedObjectScopefor theManagedObject.managedObjectSourceNode-ManagedObjectSourceNodefor theManagedObjectNode.
-
sourceManagedObject
Sources theManagedObject.- Parameters:
compileContext-CompileContext.- Returns:
trueif successfully sourced theManagedObject.falseif failed to source, with issues reported to theCompilerIssues.
-
getManagedObjectSourceNode
ManagedObjectSourceNode getManagedObjectSourceNode()Obtains theManagedObjectSourceNodefor thisManagedObjectNode.- Specified by:
getManagedObjectSourceNodein interfaceBoundManagedObjectNode- Returns:
ManagedObjectSourceNodefor thisManagedObjectNode.
-
getTypeQualifications
Obtains theTypeQualificationinstances for theManagedObject.- Parameters:
compileContext-CompileContext.- Returns:
TypeQualificationinstances for theManagedObject.
-
getManagedObjectDepdendencies
ManagedObjectDependencyNode[] getManagedObjectDepdendencies()Obtains theManagedObjectDependencyNodeinstances.- Returns:
ManagedObjectDependencyNodeinstances.
-
autoWireDependencies
void autoWireDependencies(AutoWirer<LinkObjectNode> autoWirer, OfficeNode office, CompileContext compileContext) Auto-wires the dependencies for theManagedObject.- Parameters:
autoWirer-AutoWirer.office-OfficeNoderequiring the auto-wiring.compileContext-CompileContext.
-
runExecutionExplorers
Runs theExecutionObjectExplorerinstances for theManagedObject.- Parameters:
compileContext-CompileContext.- Returns:
trueif successfully explored execution.
-
createExecutionManagedObject
Creates theExecutionManagedObjectfor thisManagedObjectNode.- Parameters:
compileContext-CompileContext.- Returns:
ExecutionManagedObjectfor thisManagedObjectNode.
-
loadOfficeSectionManagedObjectType
Loads theOfficeSectionManagedObjectType.- Parameters:
compileContext-CompileContext.- Returns:
OfficeSectionManagedObjectTypeornullwith issues reported to theCompilerIssues.
-