org.kuali.rice.krad.uif.component
Class MethodInvokerConfig

java.lang.Object
  extended by org.springframework.util.MethodInvoker
      extended by org.kuali.rice.krad.uif.component.MethodInvokerConfig
All Implemented Interfaces:
Serializable

public class MethodInvokerConfig
extends org.springframework.util.MethodInvoker
implements Serializable

Extends MethodInvoker to add properties for specifying a method for invocation within the UIF

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
MethodInvokerConfig()
           
 
Method Summary
 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
 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
 
Methods inherited from class org.springframework.util.MethodInvoker
findMatchingMethod, getArguments, getPreparedMethod, getTargetClass, getTargetMethod, getTargetObject, getTypeDifferenceWeight, invoke, isPrepared, prepare, resolveClassName, setArguments, setTargetClass, setTargetMethod, setTargetObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInvokerConfig

public MethodInvokerConfig()
Method Detail

setStaticMethod

public void setStaticMethod(String staticMethod)
Override to catch a set staticMethod since super does not contain a getter

Overrides:
setStaticMethod in class org.springframework.util.MethodInvoker
Parameters:
staticMethod - - static method to invoke

getArgumentTypes

public 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

Returns:
Class[] method argument types

setArgumentTypes

public void setArgumentTypes(Class[] argumentTypes)
Setter for the method argument types that should be invoked

Parameters:
argumentTypes -

getMethodArgumentTypes

protected Class[] getMethodArgumentTypes()
Finds the method on the target class that matches the target name and returns the declared parameter types

Returns:
Class[] method parameter types


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.