Class FunctionManagerImpl
- java.lang.Object
-
- net.officefloor.frame.impl.execute.office.FunctionManagerImpl
-
- All Implemented Interfaces:
FunctionManager
public class FunctionManagerImpl extends java.lang.Object implements FunctionManager
FunctionManagerimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description FunctionManagerImpl(ManagedFunctionMetaData<?,?> functionMetaData, OfficeMetaData officeMetaData)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]getAnnotations()Obtains the annotations for thisManagedFunction.java.lang.Class<?>getParameterType()Obtains the parameter type for invoking thisManagedFunction.ProcessManagerinvokeProcess(java.lang.Object parameter, FlowCallback callback)
-
-
-
Constructor Detail
-
FunctionManagerImpl
public FunctionManagerImpl(ManagedFunctionMetaData<?,?> functionMetaData, OfficeMetaData officeMetaData)
Initiate.- Parameters:
functionMetaData-ManagedFunctionMetaData.officeMetaData-OfficeMetaData.
-
-
Method Detail
-
getAnnotations
public java.lang.Object[] getAnnotations()
Description copied from interface:FunctionManagerObtains the annotations for thisManagedFunction.- Specified by:
getAnnotationsin interfaceFunctionManager- Returns:
- Annotations for this
ManagedFunction.
-
getParameterType
public java.lang.Class<?> 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(java.lang.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.
-
-