Class RawBoundManagedObjectInstanceMetaData<O extends java.lang.Enum<O>>
- java.lang.Object
-
- net.officefloor.frame.impl.construct.managedobject.RawBoundManagedObjectInstanceMetaData<O>
-
public class RawBoundManagedObjectInstanceMetaData<O extends java.lang.Enum<O>> extends java.lang.Object
RawBoundManagedObjectInstanceMetaData
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description RawBoundManagedObjectInstanceMetaData(java.lang.String boundManagedObjectName, RawBoundManagedObjectMetaData rawBoundMetaData, int instanceIndex, RawManagedObjectMetaData<O,?> rawMoMetaData, ManagedObjectDependencyConfiguration<?>[] dependenciesConfiguration, ManagedObjectGovernanceConfiguration[] governanceConfiguration, AdministrationConfiguration<?,?,?>[] preLoadAdministrationConfiguration)
Initiate.
-
Method Summary
-
-
-
Constructor Detail
-
RawBoundManagedObjectInstanceMetaData
public RawBoundManagedObjectInstanceMetaData(java.lang.String boundManagedObjectName, RawBoundManagedObjectMetaData rawBoundMetaData, int instanceIndex, RawManagedObjectMetaData<O,?> rawMoMetaData, ManagedObjectDependencyConfiguration<?>[] dependenciesConfiguration, ManagedObjectGovernanceConfiguration[] governanceConfiguration, AdministrationConfiguration<?,?,?>[] preLoadAdministrationConfiguration)
Initiate.- Parameters:
boundManagedObjectName
- Name that theManagedObject
is bound under.rawBoundMetaData
-RawBoundManagedObjectMetaData
containing thisRawBoundManagedObjectInstanceMetaData
.instanceIndex
- Index of thisRawBoundManagedObjectInstanceMetaData
within its containingRawBoundManagedObjectMetaData
.rawMoMetaData
-RawManagedObjectMetaData
.dependenciesConfiguration
- Listing of theManagedObjectDependencyConfiguration
for theRawBoundManagedObjectInstanceMetaData
.governanceConfiguration
- Listing of theManagedObjectGovernanceConfiguration
for theRawBoundManagedObjectInstanceMetaData
.preLoadAdministrationConfiguration
- Pre-loadAdministrationConfiguration
.
-
-
Method Detail
-
loadDependencies
public void loadDependencies(OfficeFloorIssues issues, java.util.Map<java.lang.String,RawBoundManagedObjectMetaData> boundMo)
Loads the dependencies.- Parameters:
issues
-OfficeFloorIssues
.boundMo
- Mapping ofRawBoundManagedObjectMetaData
by its scope bound name.
-
loadGovernance
public void loadGovernance(java.util.Map<java.lang.String,RawGovernanceMetaData<?,?>> rawGovernanceMetaDatas, OfficeFloorIssues issues)
Loads theManagedObjectGovernanceMetaData
.- Parameters:
rawGovernanceMetaDatas
-RawGovernanceMetaData
of theOffice
by itsOffice
registered name.issues
-OfficeFloorIssues
.
-
loadManagedObjectMetaData
public void loadManagedObjectMetaData(OfficeFloorIssues.AssetType assetType, java.lang.String assetName, AssetManagerRegistry assetManagerRegistry, long defaultAsynchronousFlowTimeout, OfficeFloorIssues issues)
Loads theManagedObjectMetaData
for theRawBoundManagedObjectMetaData
.- Parameters:
assetType
-OfficeFloorIssues.AssetType
requiring theManagedObject
.assetName
- Name of theAsset
requiring theManagedObject
.assetManagerRegistry
-AssetManagerRegistry
.defaultAsynchronousFlowTimeout
- DefaultAsynchronousFlow
timeout.issues
-OfficeFloorIssues
.
-
loadRemainingState
public void loadRemainingState(OfficeMetaData officeMetaData, ManagedObjectStartupFunction[] startupFunctions, FlowMetaData recycleFlowMetaData, ManagedObjectAdministrationMetaDataFactory managedObjectAdminFactory, AssetManagerRegistry assetManagerRegistry, long defaultAsynchronousFlowTimeout, OfficeFloorIssues issues)
Loads the remaining state for theManagedObjectMetaData
.- Parameters:
officeMetaData
-OfficeMetaData
.startupFunctions
-ManagedObjectStartupFunction
instances.recycleFlowMetaData
- RecycleFlowMetaData
.managedObjectAdminFactory
-ManagedObjectAdministrationMetaDataFactory
.assetManagerRegistry
-AssetManagerRegistry
.defaultAsynchronousFlowTimeout
- DefaultAsynchronousFlow
timeout.issues
-OfficeFloorIssues
.
-
getDependencies
public RawBoundManagedObjectMetaData[] getDependencies()
Obtains theRawBoundManagedObjectMetaData
instances of the dependencies of thisManagedObject
.- Returns:
RawBoundManagedObjectMetaData
instances of the dependencies of thisManagedObject
.
-
getRawManagedObjectMetaData
public RawManagedObjectMetaData<?,?> getRawManagedObjectMetaData()
Obtains theRawManagedObjectMetaData
.- Returns:
RawManagedObjectMetaData
.
-
getManagedObjectMetaData
public ManagedObjectMetaData<?> getManagedObjectMetaData()
Obtains theManagedObjectMetaData
.- Returns:
ManagedObjectMetaData
.
-
-