Class ManagedObjectPoolLoaderImpl
java.lang.Object
net.officefloor.compile.impl.pool.ManagedObjectPoolLoaderImpl
- All Implemented Interfaces:
ManagedObjectPoolLoader
ManagedObjectPoolLoader implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionManagedObjectPoolLoaderImpl(Node node, OfficeNode officeNode, NodeContext nodeContext, boolean isLoadingType) Instantiate. -
Method Summary
Modifier and TypeMethodDescription<PS extends ManagedObjectPoolSource>
ManagedObjectPoolTypeloadManagedObjectPoolType(Class<PS> managedObjectPoolSourceClass, PropertyList propertyList) Loads and returns theManagedObjectPoolTypesourced from theManagedObjectPoolSource.loadManagedObjectPoolType(ManagedObjectPoolSource managedObjectPoolSource, PropertyList propertyList) Loads and returns theManagedObjectPoolTypesourced from theManagedObjectPoolSource.<PS extends ManagedObjectPoolSource>
PropertyListloadSpecification(Class<PS> managedObjectPoolSourceClass) Loads and returns thePropertyListfrom theManagedObjectPoolSourceSpecificationfor theManagedObjectPoolSource.
-
Constructor Details
-
ManagedObjectPoolLoaderImpl
public ManagedObjectPoolLoaderImpl(Node node, OfficeNode officeNode, NodeContext nodeContext, boolean isLoadingType) Instantiate.- Parameters:
node-Noderequiring theManagedObjectPool.officeNode-OfficeNode. May benullif not loading withinOfficeNode.isLoadingType- Indicates if loading type.nodeContext-NodeContext.
-
-
Method Details
-
loadSpecification
public <PS extends ManagedObjectPoolSource> PropertyList loadSpecification(Class<PS> managedObjectPoolSourceClass) Description copied from interface:ManagedObjectPoolLoaderLoads and returns thePropertyListfrom theManagedObjectPoolSourceSpecificationfor theManagedObjectPoolSource.- Specified by:
loadSpecificationin interfaceManagedObjectPoolLoader- Type Parameters:
PS-ManagedObjectPoolSourcetype.- Parameters:
managedObjectPoolSourceClass- Class of theManagedObjectPoolSource.- Returns:
PropertyListof theManagedObjectPoolSourcePropertyinstances of theManagedObjectPoolSourceSpecificationornullif issues, which are reported to theCompilerIssues.
-
loadManagedObjectPoolType
public <PS extends ManagedObjectPoolSource> ManagedObjectPoolType loadManagedObjectPoolType(Class<PS> managedObjectPoolSourceClass, PropertyList propertyList) Description copied from interface:ManagedObjectPoolLoaderLoads and returns theManagedObjectPoolTypesourced from theManagedObjectPoolSource.- Specified by:
loadManagedObjectPoolTypein interfaceManagedObjectPoolLoader- Type Parameters:
PS-ManagedObjectPoolSourcetype.- Parameters:
managedObjectPoolSourceClass- Class of theManagedObjectPoolSource.propertyList-PropertyListcontaining the properties to source theManagedObjectPoolType.- Returns:
ManagedObjectPoolTypeornullif issues, which are reported to theCompilerIssues.
-
loadManagedObjectPoolType
public ManagedObjectPoolType loadManagedObjectPoolType(ManagedObjectPoolSource managedObjectPoolSource, PropertyList propertyList) Description copied from interface:ManagedObjectPoolLoaderLoads and returns theManagedObjectPoolTypesourced from theManagedObjectPoolSource.- Specified by:
loadManagedObjectPoolTypein interfaceManagedObjectPoolLoader- Parameters:
managedObjectPoolSource-ManagedObjectPoolSourceinstance.propertyList-PropertyListcontaining the properties to source theManagedObjectPoolType.- Returns:
ManagedObjectPoolTypeornullif issues, which are reported to theCompilerIssues.
-