Class OfficeImpl
- java.lang.Object
-
- net.officefloor.frame.impl.execute.office.OfficeImpl
-
-
Constructor Summary
Constructors Constructor Description OfficeImpl(OfficeMetaData metaData)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateManagercreateStateManager()Creates aStateManager.FunctionManagergetFunctionManager(java.lang.String functionName)Obtains theFunctionManagerfor the namedManagedFunction.java.lang.String[]getFunctionNames()Obtains the names of theFunctionManagerinstances within thisOffice.java.lang.String[]getObjectNames()Obtains the names of the boundManagedObjectinstances within thisOffice.voidrunAssetChecks()
-
-
-
Constructor Detail
-
OfficeImpl
public OfficeImpl(OfficeMetaData metaData)
Initiate.- Parameters:
metaData-OfficeMetaData.
-
-
Method Detail
-
runAssetChecks
public void runAssetChecks()
Description copied from interface:Office- Specified by:
runAssetChecksin interfaceOffice
-
getFunctionNames
public java.lang.String[] getFunctionNames()
Description copied from interface:OfficeObtains the names of the
FunctionManagerinstances within thisOffice.This allows to dynamically manage this
Office.- Specified by:
getFunctionNamesin interfaceOffice- Returns:
- Names of the
FunctionManagerinstances within thisOffice.
-
getFunctionManager
public FunctionManager getFunctionManager(java.lang.String functionName) throws UnknownFunctionException
Description copied from interface:OfficeObtains theFunctionManagerfor the namedManagedFunction.- Specified by:
getFunctionManagerin interfaceOffice- Parameters:
functionName- Name of theManagedFunction.- Returns:
FunctionManagerfor the namedManagedFunction.- Throws:
UnknownFunctionException- If unknownManagedFunctionname.
-
getObjectNames
public java.lang.String[] getObjectNames()
Description copied from interface:OfficeObtains the names of the bound
ManagedObjectinstances within thisOffice.This allows to dynamically managed this
Office.Note that only
ManagedObjectScope.THREADandManagedObjectScope.PROCESSscopedManagedObjectobjects are available.- Specified by:
getObjectNamesin interfaceOffice- Returns:
-
createStateManager
public StateManager createStateManager()
Description copied from interface:OfficeCreates aStateManager.- Specified by:
createStateManagerin interfaceOffice- Returns:
StateManager.
-
-