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
Node
type.- See Also:
- Constant Field Values
-
-
Method Detail
-
initialise
void initialise(ManagedObjectScope managedObjectScope, ManagedObjectSourceNode managedObjectSourceNode)
Initialises theManagedObjectNode
.- Parameters:
managedObjectScope
-ManagedObjectScope
for theManagedObject
.managedObjectSourceNode
-ManagedObjectSourceNode
for theManagedObjectNode
.
-
sourceManagedObject
boolean sourceManagedObject(CompileContext compileContext)
Sources theManagedObject
.- Parameters:
compileContext
-CompileContext
.- Returns:
true
if successfully sourced theManagedObject
.false
if failed to source, with issues reported to theCompilerIssues
.
-
getManagedObjectSourceNode
ManagedObjectSourceNode getManagedObjectSourceNode()
Obtains theManagedObjectSourceNode
for thisManagedObjectNode
.- Specified by:
getManagedObjectSourceNode
in interfaceBoundManagedObjectNode
- Returns:
ManagedObjectSourceNode
for thisManagedObjectNode
.
-
getTypeQualifications
TypeQualification[] getTypeQualifications(CompileContext compileContext)
Obtains theTypeQualification
instances for theManagedObject
.- Parameters:
compileContext
-CompileContext
.- Returns:
TypeQualification
instances for theManagedObject
.
-
getManagedObjectDepdendencies
ManagedObjectDependencyNode[] getManagedObjectDepdendencies()
Obtains theManagedObjectDependencyNode
instances.- Returns:
ManagedObjectDependencyNode
instances.
-
autoWireDependencies
void autoWireDependencies(AutoWirer<LinkObjectNode> autoWirer, OfficeNode office, CompileContext compileContext)
Auto-wires the dependencies for theManagedObject
.- Parameters:
autoWirer
-AutoWirer
.office
-OfficeNode
requiring the auto-wiring.compileContext
-CompileContext
.
-
runExecutionExplorers
boolean runExecutionExplorers(CompileContext compileContext)
Runs theExecutionObjectExplorer
instances for theManagedObject
.- Parameters:
compileContext
-CompileContext
.- Returns:
true
if successfully explored execution.
-
createExecutionManagedObject
ExecutionManagedObject createExecutionManagedObject(CompileContext compileContext)
Creates theExecutionManagedObject
for thisManagedObjectNode
.- Parameters:
compileContext
-CompileContext
.- Returns:
ExecutionManagedObject
for thisManagedObjectNode
.
-
loadOfficeSectionManagedObjectType
OfficeSectionManagedObjectType loadOfficeSectionManagedObjectType(CompileContext compileContext)
Loads theOfficeSectionManagedObjectType
.- Parameters:
compileContext
-CompileContext
.- Returns:
OfficeSectionManagedObjectType
ornull
with issues reported to theCompilerIssues
.
-
-