Class ManagedObjectPoolLoaderImpl
- java.lang.Object
-
- net.officefloor.compile.impl.pool.ManagedObjectPoolLoaderImpl
-
- All Implemented Interfaces:
ManagedObjectPoolLoader
public class ManagedObjectPoolLoaderImpl extends java.lang.Object implements ManagedObjectPoolLoader
ManagedObjectPoolLoader
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ManagedObjectPoolLoaderImpl(Node node, OfficeNode officeNode, NodeContext nodeContext, boolean isLoadingType)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <PS extends ManagedObjectPoolSource>
ManagedObjectPoolTypeloadManagedObjectPoolType(java.lang.Class<PS> managedObjectPoolSourceClass, PropertyList propertyList)
Loads and returns theManagedObjectPoolType
sourced from theManagedObjectPoolSource
.ManagedObjectPoolType
loadManagedObjectPoolType(ManagedObjectPoolSource managedObjectPoolSource, PropertyList propertyList)
Loads and returns theManagedObjectPoolType
sourced from theManagedObjectPoolSource
.<PS extends ManagedObjectPoolSource>
PropertyListloadSpecification(java.lang.Class<PS> managedObjectPoolSourceClass)
Loads and returns thePropertyList
from theManagedObjectPoolSourceSpecification
for theManagedObjectPoolSource
.
-
-
-
Constructor Detail
-
ManagedObjectPoolLoaderImpl
public ManagedObjectPoolLoaderImpl(Node node, OfficeNode officeNode, NodeContext nodeContext, boolean isLoadingType)
Instantiate.- Parameters:
node
-Node
requiring theManagedObjectPool
.officeNode
-OfficeNode
. May benull
if not loading withinOfficeNode
.isLoadingType
- Indicates if loading type.nodeContext
-NodeContext
.
-
-
Method Detail
-
loadSpecification
public <PS extends ManagedObjectPoolSource> PropertyList loadSpecification(java.lang.Class<PS> managedObjectPoolSourceClass)
Description copied from interface:ManagedObjectPoolLoader
Loads and returns thePropertyList
from theManagedObjectPoolSourceSpecification
for theManagedObjectPoolSource
.- Specified by:
loadSpecification
in interfaceManagedObjectPoolLoader
- Type Parameters:
PS
-ManagedObjectPoolSource
type.- Parameters:
managedObjectPoolSourceClass
- Class of theManagedObjectPoolSource
.- Returns:
PropertyList
of theManagedObjectPoolSourceProperty
instances of theManagedObjectPoolSourceSpecification
ornull
if issues, which are reported to theCompilerIssues
.
-
loadManagedObjectPoolType
public <PS extends ManagedObjectPoolSource> ManagedObjectPoolType loadManagedObjectPoolType(java.lang.Class<PS> managedObjectPoolSourceClass, PropertyList propertyList)
Description copied from interface:ManagedObjectPoolLoader
Loads and returns theManagedObjectPoolType
sourced from theManagedObjectPoolSource
.- Specified by:
loadManagedObjectPoolType
in interfaceManagedObjectPoolLoader
- Type Parameters:
PS
-ManagedObjectPoolSource
type.- Parameters:
managedObjectPoolSourceClass
- Class of theManagedObjectPoolSource
.propertyList
-PropertyList
containing the properties to source theManagedObjectPoolType
.- Returns:
ManagedObjectPoolType
ornull
if issues, which are reported to theCompilerIssues
.
-
loadManagedObjectPoolType
public ManagedObjectPoolType loadManagedObjectPoolType(ManagedObjectPoolSource managedObjectPoolSource, PropertyList propertyList)
Description copied from interface:ManagedObjectPoolLoader
Loads and returns theManagedObjectPoolType
sourced from theManagedObjectPoolSource
.- Specified by:
loadManagedObjectPoolType
in interfaceManagedObjectPoolLoader
- Parameters:
managedObjectPoolSource
-ManagedObjectPoolSource
instance.propertyList
-PropertyList
containing the properties to source theManagedObjectPoolType
.- Returns:
ManagedObjectPoolType
ornull
if issues, which are reported to theCompilerIssues
.
-
-