public class MethodInvokerConfig extends org.springframework.util.MethodInvoker implements Serializable, Copyable
MethodInvoker to add properties for specifying
a method for invocation within the UIF| Constructor and Description |
|---|
MethodInvokerConfig() |
| Modifier and Type | Method and Description |
|---|---|
MethodInvokerConfig |
clone()
Override
Object.clone() to assign the public modifier. |
Object[] |
getArguments() |
Class[] |
getArgumentTypes()
Declared argument types for the method to be invoked, if not set the types will
be retrieved based on the target class and target name
|
protected Class[] |
getMethodArgumentTypes()
Finds the method on the target class that matches the target name and
returns the declared parameter types
|
String |
getStaticMethod()
Set a fully qualified static method name to invoke,
e.g.
|
Class |
getTargetClass() |
String |
getTargetMethod() |
Object |
getTargetObject() |
void |
prepare() |
void |
setArgumentTypes(Class[] argumentTypes)
Setter for the method argument types that should be invoked
|
void |
setStaticMethod(String staticMethod)
Override to catch a set staticMethod since super does
not contain a getter
|
public MethodInvokerConfig()
public void prepare() throws ClassNotFoundException, NoSuchMethodException
prepare in class org.springframework.util.MethodInvokerClassNotFoundExceptionNoSuchMethodExceptionpublic String getStaticMethod()
public void setStaticMethod(String staticMethod)
setStaticMethod in class org.springframework.util.MethodInvokerstaticMethod - static method to invokepublic Class[] getArgumentTypes()
public void setArgumentTypes(Class[] argumentTypes)
argumentTypes - public Class getTargetClass()
getTargetClass in class org.springframework.util.MethodInvokerpublic Object getTargetObject()
getTargetObject in class org.springframework.util.MethodInvokerpublic String getTargetMethod()
getTargetMethod in class org.springframework.util.MethodInvokerpublic Object[] getArguments()
getArguments in class org.springframework.util.MethodInvokerprotected Class[] getMethodArgumentTypes()
public MethodInvokerConfig clone() throws CloneNotSupportedException
CopyableObject.clone() to assign the public modifier.clone in interface Copyableclone in class ObjectObject.clone()CloneNotSupportedException - If Cloneable is not implemented. This should not
be possible when using this interface.Copyable.clone()Copyright © 2005–2016 The Kuali Foundation. All rights reserved.