Class ClassFlowInterfaceFactory
- java.lang.Object
-
- net.officefloor.plugin.clazz.flow.ClassFlowInterfaceFactory
-
public class ClassFlowInterfaceFactory extends java.lang.Object
Factory forFlowInterface
interface.- 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.Object
createFlows(ClassFlowInvoker invoker)
Creates theFlow
object.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
-FlowInterface
class.methodMetaDatas
-ClassFlowMethodMetaData
instances by itsMethod
name.- 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 theFlow
object.- Parameters:
invoker
-ClassFlowInvoker
.- Returns:
Flow
object.- Throws:
java.lang.Exception
- If fails to create.
-
-