Class AssetManagerRegistry
java.lang.Object
net.officefloor.frame.impl.construct.asset.AssetManagerRegistry
Registry of the
AssetManager instances.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionAssetManagerRegistry(MonitorClock monitorClock, FunctionLoop functionLoop) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptioncreateAssetManager(OfficeFloorIssues.AssetType assetType, String assetName, String responsibility, OfficeFloorIssues issues) Creates theAssetManager.Obtain all the registeredAssetManagerHirerinstances.
-
Constructor Details
-
AssetManagerRegistry
Instantiate.- Parameters:
monitorClock-MonitorClock.functionLoop-FunctionLoop.
-
-
Method Details
-
getAssetManagerHirers
Obtain all the registeredAssetManagerHirerinstances.- Returns:
- Registered
AssetManagerHirerinstances.
-
createAssetManager
public AssetManagerReference createAssetManager(OfficeFloorIssues.AssetType assetType, String assetName, String responsibility, OfficeFloorIssues issues) Creates theAssetManager.- Parameters:
assetType-OfficeFloorIssues.AssetType.assetName- Name of theAsset.responsibility- Responsibility of theAssetManagerfor theAsset.issues-OfficeFloorIssues.- Returns:
AssetManagerReferenceornullifAssetManageralready created for theAssetwithOfficeFloorIssuesinformed.
-