Class DefaultMethodObjectFactory
- java.lang.Object
-
- net.officefloor.plugin.clazz.method.DefaultMethodObjectFactory
-
- All Implemented Interfaces:
MethodObjectFactory
public class DefaultMethodObjectFactory extends java.lang.Object implements MethodObjectFactory
DefaultMethodObjectFactory.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description DefaultMethodObjectFactory(ClassObjectFactory objectFactory)Instantiate.
-
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.
-
-
-
Constructor Detail
-
DefaultMethodObjectFactory
public DefaultMethodObjectFactory(ClassObjectFactory objectFactory)
Instantiate.- Parameters:
objectFactory-ClassObjectFactory.
-
-
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.
-
-