Class OfficeImpl
java.lang.Object
net.officefloor.frame.impl.execute.office.OfficeImpl
- All Implemented Interfaces:
Office
Office implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates aStateManager.getFunctionManager(String functionName) Obtains theFunctionManagerfor the namedManagedFunction.String[]Obtains the names of theFunctionManagerinstances within thisOffice.String[]Obtains the names of the boundManagedObjectinstances within thisOffice.
-
Constructor Details
-
OfficeImpl
Initiate.- Parameters:
metaData-OfficeMetaData.
-
-
Method Details
-
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
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
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:
- Names of the available objects.
-
createStateManager
Description copied from interface:OfficeCreates aStateManager.- Specified by:
createStateManagerin interfaceOffice- Returns:
StateManager.
-