|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.MethodInvokerClassNotFoundException
NoSuchMethodExceptionpublic 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 - protected 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()public final <T> T copy()
Copyable
copy in interface CopyableT - copyable type
Copyable.copy(),
CopyUtils.copy(Copyable)public Copyable unwrap()
unwrap in interface Copyablepublic void preventModification()
preventModification in interface Copyable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||