Interface BoundManagedObjectNode
- All Superinterfaces:
AdministerableManagedObject,GovernerableManagedObject,LinkObjectNode,Node
- All Known Subinterfaces:
InputManagedObjectNode,ManagedObjectNode
- All Known Implementing Classes:
InputManagedObjectNodeImpl,ManagedObjectNodeImpl
public interface BoundManagedObjectNode
extends LinkObjectNode, GovernerableManagedObject, AdministerableManagedObject
ManagedObject bound into the Office.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddGovernance(GovernanceNode governance, OfficeNode office) Adds theGovernanceNodeto provideGovernanceover thisManagedObjectNodewhen used within theOfficeof theOfficeNode.voidaddPreLoadAdministration(AdministrationNode preLoadAdministration, OfficeNode office) Adds theAdministrationNodeto provide pre-loadAdministrationfor thisManagedObjectNodewhen used within theOfficeof theOfficeNode.booleanbuildFunctionManagedObject(String functionObjectName, ManagedFunctionBuilder<?, ?> functionBuilder, OfficeNode office, OfficeBindings officeBindings, CompileContext compileContext) Builds theManagedObjectonto theManagedFunctionNode.voidbuildOfficeManagedObject(OfficeNode office, OfficeBuilder officeBuilder, OfficeBindings officeBindings, CompileContext compileContext) Builds theManagedObjectinto theOffice.voidbuildSupplierThreadLocal(OptionalThreadLocalReceiver optionalThreadLocalReceiver) Builds theSupplierThreadLocalfrom the boundManagedObject.Obtains the name under which thisManagedObjectis made available to theOffice.Obtains theManagedObjectSourceNodefor thisBoundManagedObjectNode.Methods inherited from interface net.officefloor.compile.spi.office.AdministerableManagedObject
getAdministerableManagedObjectNameMethods 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, isInitialised
-
Method Details
-
getBoundManagedObjectName
String getBoundManagedObjectName()Obtains the name under which thisManagedObjectis made available to theOffice.- Returns:
- Name under which this
ManagedObjectis made available to theOffice.
-
getManagedObjectSourceNode
ManagedObjectSourceNode getManagedObjectSourceNode()Obtains theManagedObjectSourceNodefor thisBoundManagedObjectNode.- Returns:
ManagedObjectSourceNodefor thisBoundManagedObjectNode.
-
addGovernance
Adds theGovernanceNodeto provideGovernanceover thisManagedObjectNodewhen used within theOfficeof theOfficeNode.- Parameters:
governance-GovernanceNode.office-OfficeNodefor which theGovernanceis applicable.
-
addPreLoadAdministration
Adds theAdministrationNodeto provide pre-loadAdministrationfor thisManagedObjectNodewhen used within theOfficeof theOfficeNode.- Parameters:
preLoadAdministration- Pre-loadAdministrationNode.office-OfficeNodefor which the pre-loadAdministrationis applicable.
-
buildOfficeManagedObject
void buildOfficeManagedObject(OfficeNode office, OfficeBuilder officeBuilder, OfficeBindings officeBindings, CompileContext compileContext) Builds theManagedObjectinto theOffice.- Parameters:
office-OfficeNodeof theOfficethat thisManagedObjectis to build itself into.officeBuilder-OfficeBuilderfor theOffice.officeBindings-OfficeBindings.compileContext-CompileContext.
-
buildFunctionManagedObject
boolean buildFunctionManagedObject(String functionObjectName, ManagedFunctionBuilder<?, ?> functionBuilder, OfficeNode office, OfficeBindings officeBindings, CompileContext compileContext) Builds theManagedObjectonto theManagedFunctionNode.- Parameters:
functionObjectName- Name of the object on theManagedFunctionNode.functionBuilder-ManagedFunctionBuilder.office-OfficeNodeof theOfficethat thisManagedObjectis to build itself into.officeBindings-OfficeBindings.compileContext-CompileContext.- Returns:
trueif bound toManagedFunctionNode.
-
buildSupplierThreadLocal
Builds theSupplierThreadLocalfrom the boundManagedObject.- Parameters:
optionalThreadLocalReceiver-OptionalThreadLocalReceiverto receive theOptionalThreadLocal.
-