Interface ManagedObjectPoolNode
-
- All Superinterfaces:
LinkPoolNode
,Node
,OfficeFloorManagedObjectPool
,OfficeManagedObjectPool
,PropertyConfigurable
,SectionManagedObjectPool
- All Known Implementing Classes:
ManagedObjectPoolNodeImpl
public interface ManagedObjectPoolNode extends LinkPoolNode, OfficeFloorManagedObjectPool, OfficeManagedObjectPool, SectionManagedObjectPool
Node representing instance use of aManagedObjectPool
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
buildManagedObjectPool(ManagedObjectBuilder<?> managedObjectBuilder, ManagedObjectType<?> managedObjectType, CompileContext compileContext)
BuildsManagedObjectPool
for thisManagedObjectPoolNode
.void
initialise(java.lang.String managedObjectPoolSourceClassName, ManagedObjectPoolSource managedObjectPoolSource)
Initialises theManagedObjectPoolNode
.ManagedObjectPoolType
loadManagedObjectPoolType(boolean isLoadingType)
Loads theManagedObjectPoolType
.boolean
sourceManagedObjectPool(CompileContext compileContext)
Sources theManagedObjectPool
.-
Methods inherited from interface net.officefloor.compile.internal.structure.LinkPoolNode
getLinkedPoolNode, linkPoolNode
-
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.OfficeFloorManagedObjectPool
getOfficeFloorManagedObjectPoolName
-
Methods inherited from interface net.officefloor.compile.spi.office.OfficeManagedObjectPool
getOfficeManagedObjectPoolName
-
Methods inherited from interface net.officefloor.compile.properties.PropertyConfigurable
addProperty
-
Methods inherited from interface net.officefloor.compile.spi.section.SectionManagedObjectPool
getSectionManagedObjectPoolName
-
-
-
-
Field Detail
-
TYPE
static final java.lang.String TYPE
Node
type.- See Also:
- Constant Field Values
-
-
Method Detail
-
initialise
void initialise(java.lang.String managedObjectPoolSourceClassName, ManagedObjectPoolSource managedObjectPoolSource)
Initialises theManagedObjectPoolNode
.- Parameters:
managedObjectPoolSourceClassName
- Class name of theManagedObjectPoolSource
.managedObjectPoolSource
- Optional instantiatedManagedObjectPoolSource
. May benull
.
-
loadManagedObjectPoolType
ManagedObjectPoolType loadManagedObjectPoolType(boolean isLoadingType)
Loads theManagedObjectPoolType
.- Parameters:
isLoadingType
- Indicates if using to load type.- Returns:
ManagedObjectPoolType
ornull
if issue loading with issue reported to theCompilerIssues
.
-
sourceManagedObjectPool
boolean sourceManagedObjectPool(CompileContext compileContext)
Sources theManagedObjectPool
.- Parameters:
compileContext
-CompileContext
.- Returns:
true
if successfully sourced. Otherwise,false
with issues reported to theCompilerIssues
.
-
buildManagedObjectPool
void buildManagedObjectPool(ManagedObjectBuilder<?> managedObjectBuilder, ManagedObjectType<?> managedObjectType, CompileContext compileContext)
BuildsManagedObjectPool
for thisManagedObjectPoolNode
.- Parameters:
managedObjectBuilder
-ManagedObjectBuilder
.managedObjectType
-ManagedObjectType
of theManagedObjectSource
being pooled.compileContext
-CompileContext
.
-
-