Class FunctionManagerImpl
java.lang.Object
net.officefloor.frame.impl.execute.office.FunctionManagerImpl
- All Implemented Interfaces:
FunctionManager
FunctionManager implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionManagerImpl(ManagedFunctionMetaData<?, ?> functionMetaData, OfficeMetaData officeMetaData) Initiate. -
Method Summary
Modifier and TypeMethodDescriptionObject[]Obtains the annotations for thisManagedFunction.Class<?>Obtains the parameter type for invoking thisManagedFunction.invokeProcess(Object parameter, FlowCallback callback)
-
Constructor Details
-
FunctionManagerImpl
public FunctionManagerImpl(ManagedFunctionMetaData<?, ?> functionMetaData, OfficeMetaData officeMetaData) Initiate.- Parameters:
functionMetaData-ManagedFunctionMetaData.officeMetaData-OfficeMetaData.
-
-
Method Details
-
getAnnotations
Description copied from interface:FunctionManagerObtains the annotations for thisManagedFunction.- Specified by:
getAnnotationsin interfaceFunctionManager- Returns:
- Annotations for this
ManagedFunction.
-
getParameterType
Description copied from interface:FunctionManagerObtains the parameter type for invoking thisManagedFunction.- Specified by:
getParameterTypein interfaceFunctionManager- Returns:
- Parameter type for invoking the
ManagedFunction. Will benullif no parameter to theManagedFunction.
-
invokeProcess
public ProcessManager invokeProcess(Object parameter, FlowCallback callback) throws InvalidParameterTypeException Description copied from interface:FunctionManager- Specified by:
invokeProcessin interfaceFunctionManager- Parameters:
parameter- Parameter for theManagedFunction.callback- OptionalFlowCallback. May benull.- Returns:
ProcessManagerto manage theProcessState.- Throws:
InvalidParameterTypeException- Should the parameter be of incorrect type for theManagedFunction.
-