|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.util.MethodInvoker org.kuali.rice.krad.uif.component.MethodInvokerConfig
public class MethodInvokerConfig
Extends MethodInvoker
to add properties for specifying
a method for invocation within the UIF
Constructor Summary | |
---|---|
MethodInvokerConfig()
|
Method Summary | ||
---|---|---|
MethodInvokerConfig |
clone()
Override Object.clone() to assign the public modifier. |
|
|
copy()
Return a copy of the class. |
|
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. |
|
void |
prepare()
|
|
void |
preventModification()
Modification is not controlled at this level. |
|
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 |
|
Copyable |
unwrap()
Get the innermost copyable instance, if wrapped by a proxy. |
Methods inherited from class org.springframework.util.MethodInvoker |
---|
findMatchingMethod, getArguments, getPreparedMethod, getTargetClass, getTargetMethod, getTargetObject, getTypeDifferenceWeight, invoke, isPrepared, resolveClassName, setArguments, setTargetClass, setTargetMethod, setTargetObject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodInvokerConfig()
Method Detail |
---|
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
- 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()
public final <T> T copy()
Copyable
copy
in interface Copyable
T
- copyable type
Copyable.copy()
,
CopyUtils.copy(Copyable)
public Copyable unwrap()
unwrap
in interface Copyable
public void preventModification()
preventModification
in interface Copyable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |