Class StaticMethodObjectFactory
- java.lang.Object
-
- net.officefloor.plugin.clazz.method.StaticMethodObjectFactory
-
- All Implemented Interfaces:
MethodObjectFactory
public class StaticMethodObjectFactory extends java.lang.Object implements MethodObjectFactory
MethodObjectFactory
for staticMethod
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description StaticMethodObjectFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
createInstance(ManagedFunctionContext<Indexed,Indexed> context)
Creates theObject
instance to invoke theMethod
on.
-
-
-
Method Detail
-
createInstance
public java.lang.Object createInstance(ManagedFunctionContext<Indexed,Indexed> context) throws java.lang.Throwable
Description copied from interface:MethodObjectFactory
Creates theObject
instance to invoke theMethod
on.- Specified by:
createInstance
in interfaceMethodObjectFactory
- Parameters:
context
-ManagedFunctionContext
.- Returns:
Object
instance to invoke theMethod
on.- Throws:
java.lang.Throwable
- If fails to create the instance.
-
-