public class MethodInvokerConfig extends org.springframework.util.MethodInvoker implements Serializable, Copyable
MethodInvoker
to add properties for specifying
a method for invocation within the UIFConstructor 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.MethodInvoker
ClassNotFoundException
NoSuchMethodException
public String getStaticMethod()
public void setStaticMethod(String staticMethod)
setStaticMethod
in class org.springframework.util.MethodInvoker
staticMethod
- static method to invokepublic Class[] getArgumentTypes()
public void setArgumentTypes(Class[] argumentTypes)
argumentTypes
- public Class getTargetClass()
getTargetClass
in class org.springframework.util.MethodInvoker
public Object getTargetObject()
getTargetObject
in class org.springframework.util.MethodInvoker
public String getTargetMethod()
getTargetMethod
in class org.springframework.util.MethodInvoker
public Object[] getArguments()
getArguments
in class org.springframework.util.MethodInvoker
protected Class[] getMethodArgumentTypes()
public MethodInvokerConfig clone() throws CloneNotSupportedException
Copyable
Object.clone()
to assign the public modifier.clone
in interface Copyable
clone
in class Object
Object.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.