Class ClassFlowInterfaceFactory
- java.lang.Object
-
- net.officefloor.plugin.clazz.flow.ClassFlowInterfaceFactory
-
public class ClassFlowInterfaceFactory extends java.lang.ObjectFactory forFlowInterfaceinterface.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ClassFlowInterfaceFactory(SourceContext sourceContext, java.lang.Class<?> flowInterface, java.util.Map<java.lang.String,ClassFlowMethodMetaData> methodMetaDatas)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectcreateFlows(ClassFlowInvoker invoker)Creates theFlowobject.ClassFlowMethodMetaData[]getFlowMethodMetaData()Obtains theClassFlowMethodMetaData.
-
-
-
Constructor Detail
-
ClassFlowInterfaceFactory
public ClassFlowInterfaceFactory(SourceContext sourceContext, java.lang.Class<?> flowInterface, java.util.Map<java.lang.String,ClassFlowMethodMetaData> methodMetaDatas) throws java.lang.Exception
Initiate.- Parameters:
sourceContext-SourceContext.flowInterface-FlowInterfaceclass.methodMetaDatas-ClassFlowMethodMetaDatainstances by itsMethodname.- Throws:
java.lang.Exception- If fails to create theProxy.
-
-
Method Detail
-
getFlowMethodMetaData
public ClassFlowMethodMetaData[] getFlowMethodMetaData()
Obtains theClassFlowMethodMetaData.- Returns:
ClassFlowMethodMetaData.
-
createFlows
public java.lang.Object createFlows(ClassFlowInvoker invoker) throws java.lang.Exception
Creates theFlowobject.- Parameters:
invoker-ClassFlowInvoker.- Returns:
Flowobject.- Throws:
java.lang.Exception- If fails to create.
-
-