Class AssetManagerRegistry
- java.lang.Object
-
- net.officefloor.frame.impl.construct.asset.AssetManagerRegistry
-
public class AssetManagerRegistry extends java.lang.Object
Registry of theAssetManager
instances.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description AssetManagerRegistry(MonitorClock monitorClock, FunctionLoop functionLoop)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetManagerReference
createAssetManager(OfficeFloorIssues.AssetType assetType, java.lang.String assetName, java.lang.String responsibility, OfficeFloorIssues issues)
Creates theAssetManager
.AssetManagerHirer[]
getAssetManagerHirers()
Obtain all the registeredAssetManagerHirer
instances.
-
-
-
Constructor Detail
-
AssetManagerRegistry
public AssetManagerRegistry(MonitorClock monitorClock, FunctionLoop functionLoop)
Instantiate.- Parameters:
monitorClock
-MonitorClock
.functionLoop
-FunctionLoop
.
-
-
Method Detail
-
getAssetManagerHirers
public AssetManagerHirer[] getAssetManagerHirers()
Obtain all the registeredAssetManagerHirer
instances.- Returns:
- Registered
AssetManagerHirer
instances.
-
createAssetManager
public AssetManagerReference createAssetManager(OfficeFloorIssues.AssetType assetType, java.lang.String assetName, java.lang.String responsibility, OfficeFloorIssues issues)
Creates theAssetManager
.- Parameters:
assetType
-OfficeFloorIssues.AssetType
.assetName
- Name of theAsset
.responsibility
- Responsibility of theAssetManager
for theAsset
.issues
-OfficeFloorIssues
.- Returns:
AssetManagerReference
ornull
ifAssetManager
already created for theAsset
withOfficeFloorIssues
informed.
-
-