Class StaticMethodObjectFactory
- java.lang.Object
-
- net.officefloor.plugin.clazz.method.StaticMethodObjectFactory
-
- All Implemented Interfaces:
MethodObjectFactory
public class StaticMethodObjectFactory extends java.lang.Object implements MethodObjectFactory
MethodObjectFactoryfor 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.ObjectcreateInstance(ManagedFunctionContext<Indexed,Indexed> context)Creates theObjectinstance to invoke theMethodon.
-
-
-
Method Detail
-
createInstance
public java.lang.Object createInstance(ManagedFunctionContext<Indexed,Indexed> context) throws java.lang.Throwable
Description copied from interface:MethodObjectFactoryCreates theObjectinstance to invoke theMethodon.- Specified by:
createInstancein interfaceMethodObjectFactory- Parameters:
context-ManagedFunctionContext.- Returns:
Objectinstance to invoke theMethodon.- Throws:
java.lang.Throwable- If fails to create the instance.
-
-