Package net.officefloor.compile.pool
Interface ManagedObjectPoolLoader
-
- All Known Implementing Classes:
ManagedObjectPoolLoaderImpl
public interface ManagedObjectPoolLoader
Loads theManagedObjectPoolType
from theManagedObjectPoolSource
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract 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
.
-
-
-
Method Detail
-
loadSpecification
<PS extends ManagedObjectPoolSource> PropertyList loadSpecification(java.lang.Class<PS> managedObjectPoolSourceClass)
Loads and returns thePropertyList
from theManagedObjectPoolSourceSpecification
for theManagedObjectPoolSource
.- 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
<PS extends ManagedObjectPoolSource> ManagedObjectPoolType loadManagedObjectPoolType(java.lang.Class<PS> managedObjectPoolSourceClass, PropertyList propertyList)
Loads and returns theManagedObjectPoolType
sourced from theManagedObjectPoolSource
.- 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
ManagedObjectPoolType loadManagedObjectPoolType(ManagedObjectPoolSource managedObjectPoolSource, PropertyList propertyList)
Loads and returns theManagedObjectPoolType
sourced from theManagedObjectPoolSource
.- Parameters:
managedObjectPoolSource
-ManagedObjectPoolSource
instance.propertyList
-PropertyList
containing the properties to source theManagedObjectPoolType
.- Returns:
ManagedObjectPoolType
ornull
if issues, which are reported to theCompilerIssues
.
-
-