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 aManagedObject.- Author:
- Daniel Sagenschneider
-
-
Method Summary
-
Methods inherited from interface net.officefloor.compile.spi.office.AdministerableManagedObject
getAdministerableManagedObjectName
-
Methods inherited from interface net.officefloor.compile.internal.structure.BoundManagedObjectNode
addGovernance, addPreLoadAdministration, buildOfficeManagedObject, buildSupplierThreadLocal, getBoundManagedObjectName
-
Methods inherited from interface net.officefloor.compile.spi.office.DependentManagedObject
getDependentManagedObjectName
-
Methods inherited from interface net.officefloor.compile.internal.structure.DependentObjectNode
loadDependentObjectType
-
Methods inherited from interface net.officefloor.compile.spi.office.GovernerableManagedObject
getGovernerableManagedObjectName
-
Methods inherited from interface net.officefloor.compile.internal.structure.LinkObjectNode
getLinkedObjectNode, linkObjectNode
-
Methods inherited from interface net.officefloor.compile.internal.structure.Node
getChildNodes, getLocation, getNodeName, getNodeType, getParentNode, getQualifiedName, getQualifiedName, isInitialised
-
Methods inherited from interface net.officefloor.compile.spi.officefloor.OfficeFloorManagedObject
addTypeQualification, getOfficeFloorManagedObjectDependency, getOfficeFloorManagedObjectName
-
Methods inherited from interface net.officefloor.compile.spi.office.OfficeManagedObject
addExecutionExplorer, addPreLoadAdministration, addTypeQualification, getOfficeManagedObjectDependency, getOfficeManagedObjectName
-
Methods inherited from interface net.officefloor.compile.spi.office.OfficeSectionManagedObject
addPreLoadAdministration, getOfficeSectionManagedObjectName
-
Methods inherited from interface net.officefloor.compile.spi.section.SectionManagedObject
addTypeQualification, getSectionManagedObjectDependency, getSectionManagedObjectName
-
-
-
-
Field Detail
-
TYPE
static final java.lang.String TYPE
Nodetype.- See Also:
- Constant Field Values
-
-
Method Detail
-
initialise
void initialise(ManagedObjectScope managedObjectScope, ManagedObjectSourceNode managedObjectSourceNode)
Initialises theManagedObjectNode.- Parameters:
managedObjectScope-ManagedObjectScopefor theManagedObject.managedObjectSourceNode-ManagedObjectSourceNodefor theManagedObjectNode.
-
sourceManagedObject
boolean sourceManagedObject(CompileContext compileContext)
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
TypeQualification[] getTypeQualifications(CompileContext compileContext)
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
boolean runExecutionExplorers(CompileContext compileContext)
Runs theExecutionObjectExplorerinstances for theManagedObject.- Parameters:
compileContext-CompileContext.- Returns:
trueif successfully explored execution.
-
createExecutionManagedObject
ExecutionManagedObject createExecutionManagedObject(CompileContext compileContext)
Creates theExecutionManagedObjectfor thisManagedObjectNode.- Parameters:
compileContext-CompileContext.- Returns:
ExecutionManagedObjectfor thisManagedObjectNode.
-
loadOfficeSectionManagedObjectType
OfficeSectionManagedObjectType loadOfficeSectionManagedObjectType(CompileContext compileContext)
Loads theOfficeSectionManagedObjectType.- Parameters:
compileContext-CompileContext.- Returns:
OfficeSectionManagedObjectTypeornullwith issues reported to theCompilerIssues.
-
-