Class ClassFunctionFactory
- java.lang.Object
-
- net.officefloor.plugin.managedfunction.clazz.ClassFunctionFactory
-
- All Implemented Interfaces:
ManagedFunctionFactory<Indexed,Indexed>
public class ClassFunctionFactory extends java.lang.Object implements ManagedFunctionFactory<Indexed,Indexed>
ManagedFunctionFactory
for theClassFunction
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ClassFunctionFactory(MethodObjectInstanceFactory methodObjectInstanceFactory, java.lang.reflect.Method method, ManagedFunctionParameterFactory[] parameters)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassFunction
createManagedFunction()
Creates theManagedFunction
.java.lang.reflect.Method
getMethod()
Obtains theMethod
.
-
-
-
Constructor Detail
-
ClassFunctionFactory
public ClassFunctionFactory(MethodObjectInstanceFactory methodObjectInstanceFactory, java.lang.reflect.Method method, ManagedFunctionParameterFactory[] parameters)
Initiate.- Parameters:
methodObjectInstanceFactory
-MethodObjectInstanceFactory
. Will benull
if staticMethod
.method
-Method
to invoke for theManagedFunction
.parameters
-ManagedFunctionParameterFactory
instances.
-
-
Method Detail
-
getMethod
public java.lang.reflect.Method getMethod()
Obtains theMethod
.- Returns:
Method
.
-
createManagedFunction
public ClassFunction createManagedFunction()
Description copied from interface:ManagedFunctionFactory
Creates theManagedFunction
.- Specified by:
createManagedFunction
in interfaceManagedFunctionFactory<Indexed,Indexed>
- Returns:
ManagedFunction
.
-
-