Class RawManagedObjectMetaData<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
- java.lang.Object
-
- net.officefloor.frame.impl.construct.managedobjectsource.RawManagedObjectMetaData<O,F>
-
public class RawManagedObjectMetaData<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> extends java.lang.Object
- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description RawManagedObjectMetaData(java.lang.String managedObjectName, ManagedObjectSourceConfiguration<F,?> managedObjectSourceConfiguration, ManagedObjectSource<O,F> managedObjectSource, ManagedObjectSourceMetaData<O,F> managedObjectSourceMetaData, long timeout, ManagedObjectPool managedObjectPool, ManagedObjectServiceReady[] serviceReadiness, ThreadCompletionListener[] threadCompletionListeners, java.lang.Class<?> objectType, boolean isContextAware, boolean isAsynchronous, boolean isCoordinating, RawManagingOfficeMetaData<F> rawManagingOfficeMetaData)
Initiate.
-
Method Summary
-
-
-
Constructor Detail
-
RawManagedObjectMetaData
public RawManagedObjectMetaData(java.lang.String managedObjectName, ManagedObjectSourceConfiguration<F,?> managedObjectSourceConfiguration, ManagedObjectSource<O,F> managedObjectSource, ManagedObjectSourceMetaData<O,F> managedObjectSourceMetaData, long timeout, ManagedObjectPool managedObjectPool, ManagedObjectServiceReady[] serviceReadiness, ThreadCompletionListener[] threadCompletionListeners, java.lang.Class<?> objectType, boolean isContextAware, boolean isAsynchronous, boolean isCoordinating, RawManagingOfficeMetaData<F> rawManagingOfficeMetaData)
Initiate.- Parameters:
managedObjectName
- Name of theManagedObject
.managedObjectSourceConfiguration
-ManagedObjectSourceConfiguration
.managedObjectSource
-ManagedObjectSource
.managedObjectSourceMetaData
-ManagedObjectSourceMetaData
for theManagedObjectSource
.timeout
- Timeout for theManagedObjectSource
.managedObjectPool
-ManagedObjectPool
.serviceReadiness
-ManagedObjectServiceReady
instances.threadCompletionListeners
-ThreadCompletionListener
instances.objectType
- Type of theObject
returned from theManagedObject
.isContextAware
- Flag indicating ifContextAwareManagedObject
.isAsynchronous
- Flag indicating ifAsynchronousManagedObject
.isCoordinating
- Flag indicating ifCoordinatingManagedObject
.rawManagingOfficeMetaData
-RawManagingOfficeMetaData
.
-
-
Method Detail
-
getManagedObjectName
public java.lang.String getManagedObjectName()
Obtains the name of theManagedObject
.- Returns:
- Name of the
ManagedObject
.
-
getManagedObjectSourceConfiguration
public ManagedObjectSourceConfiguration<F,?> getManagedObjectSourceConfiguration()
Obtains theManagedObjectSourceConfiguration
.- Returns:
ManagedObjectSourceConfiguration
.
-
getManagedObjectSource
public ManagedObjectSource<O,F> getManagedObjectSource()
Obtains theManagedObjectSource
.- Returns:
ManagedObjectSource
.
-
getManagedObjectSourceMetaData
public ManagedObjectSourceMetaData<O,F> getManagedObjectSourceMetaData()
Obtains theManagedObjectSourceMetaData
.- Returns:
ManagedObjectSourceMetaData
.
-
getManagedObjectPool
public ManagedObjectPool getManagedObjectPool()
Obtains theManagedObjectPoolFactory
.- Returns:
ManagedObjectPoolFactory
ornull
if not pooled.
-
getServiceReadiness
public ManagedObjectServiceReady[] getServiceReadiness()
Obtains theManagedObjectServiceReady
instances.- Returns:
ManagedObjectServiceReady
instances.
-
getThreadCompletionListeners
public ThreadCompletionListener[] getThreadCompletionListeners()
Obtains theThreadCompletionListener
instances for theManagedObject
.- Returns:
ThreadCompletionListener
instances for theManagedObject
.
-
getObjectType
public java.lang.Class<?> getObjectType()
Obtains the type ofObject
returned from theManagedObject
.- Returns:
- Obtains the type of
Object
returned from theManagedObject
.
-
getExecuteLogger
public java.util.logging.Logger getExecuteLogger()
Obtains theLogger
for theManagedObjectExecuteContext
.- Returns:
Logger
for theManagedObjectExecuteContext
..
-
getRawManagingOfficeMetaData
public RawManagingOfficeMetaData<F> getRawManagingOfficeMetaData()
- Returns:
RawManagingOfficeMetaData
of theOffice
managing thisManagedObject
.
-
createManagedObjectMetaData
public ManagedObjectMetaDataImpl<O> createManagedObjectMetaData(OfficeFloorIssues.AssetType assetType, java.lang.String assetName, RawBoundManagedObjectMetaData boundMetaData, int instanceIndex, RawBoundManagedObjectInstanceMetaData<O> boundInstanceMetaData, ManagedObjectIndex[] dependencyMappings, ManagedObjectGovernanceMetaData<?>[] governanceMetaData, AssetManagerRegistry assetManagerRegistry, OfficeFloorIssues issues)
Creates theManagedObjectMetaData
.- Parameters:
assetType
-OfficeFloorIssues.AssetType
of theAsset
requiring theManagedObject
.assetName
- Name of theAsset
requiring theManagedObject
.boundMetaData
-RawBoundManagedObjectMetaData
.instanceIndex
- Index of theRawBoundManagedObjectInstanceMetaData
on theRawBoundManagedObjectMetaData
.boundInstanceMetaData
-RawBoundManagedObjectInstanceMetaData
.dependencyMappings
-ManagedObjectIndex
instances identifying the dependentManagedObject
instances in dependency index order required.governanceMetaData
-ManagedObjectGovernanceMetaData
identifying theGovernance
for theManagedObject
.assetManagerRegistry
-AssetManagerRegistry
of theOffice
using theManagedObject
.issues
-OfficeFloorIssues
.- Returns:
ManagedObjectMetaData
.
-
-