Class ClassFlowInterfaceFactory
java.lang.Object
net.officefloor.plugin.clazz.flow.ClassFlowInterfaceFactory
Factory for
FlowInterface interface.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionClassFlowInterfaceFactory(SourceContext sourceContext, Class<?> flowInterface, Map<String, ClassFlowMethodMetaData> methodMetaDatas) Initiate. -
Method Summary
Modifier and TypeMethodDescriptioncreateFlows(ClassFlowInvoker invoker) Creates theFlowobject.Obtains theClassFlowMethodMetaData.
-
Constructor Details
-
ClassFlowInterfaceFactory
public ClassFlowInterfaceFactory(SourceContext sourceContext, Class<?> flowInterface, Map<String, ClassFlowMethodMetaData> methodMetaDatas) throws ExceptionInitiate.- Parameters:
sourceContext-SourceContext.flowInterface-FlowInterfaceclass.methodMetaDatas-ClassFlowMethodMetaDatainstances by itsMethodname.- Throws:
Exception- If fails to create theProxy.
-
-
Method Details
-
getFlowMethodMetaData
Obtains theClassFlowMethodMetaData.- Returns:
ClassFlowMethodMetaData.
-
createFlows
Creates theFlowobject.- Parameters:
invoker-ClassFlowInvoker.- Returns:
Flowobject.- Throws:
Exception- If fails to create.
-