Interface MethodObjectFactory
-
- All Known Implementing Classes:
DefaultMethodObjectFactory
,StaticMethodObjectFactory
public interface MethodObjectFactory
Factory to create theObject
instance to invoke theMethod
on.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
createInstance(ManagedFunctionContext<Indexed,Indexed> context)
Creates theObject
instance to invoke theMethod
on.
-
-
-
Method Detail
-
createInstance
java.lang.Object createInstance(ManagedFunctionContext<Indexed,Indexed> context) throws java.lang.Throwable
Creates theObject
instance to invoke theMethod
on.- Parameters:
context
-ManagedFunctionContext
.- Returns:
Object
instance to invoke theMethod
on.- Throws:
java.lang.Throwable
- If fails to create the instance.
-
-