Class ManagedObjectPoolLoaderImpl
- java.lang.Object
-
- net.officefloor.compile.impl.pool.ManagedObjectPoolLoaderImpl
-
- All Implemented Interfaces:
ManagedObjectPoolLoader
public class ManagedObjectPoolLoaderImpl extends java.lang.Object implements ManagedObjectPoolLoader
ManagedObjectPoolLoaderimplementation.- 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 theManagedObjectPoolTypesourced from theManagedObjectPoolSource.ManagedObjectPoolTypeloadManagedObjectPoolType(ManagedObjectPoolSource managedObjectPoolSource, PropertyList propertyList)Loads and returns theManagedObjectPoolTypesourced from theManagedObjectPoolSource.<PS extends ManagedObjectPoolSource>
PropertyListloadSpecification(java.lang.Class<PS> managedObjectPoolSourceClass)Loads and returns thePropertyListfrom theManagedObjectPoolSourceSpecificationfor theManagedObjectPoolSource.
-
-
-
Constructor Detail
-
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 Detail
-
loadSpecification
public <PS extends ManagedObjectPoolSource> PropertyList loadSpecification(java.lang.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(java.lang.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.
-
-