org.springframework.richclient.command.support
Class MethodInvokingActionCommandExecutor

java.lang.Object
  extended by org.springframework.util.MethodInvoker
      extended by org.springframework.beans.support.ArgumentConvertingMethodInvoker
          extended by org.springframework.richclient.command.support.MethodInvokingActionCommandExecutor
All Implemented Interfaces:
InitializingBean, ActionCommandExecutor

public class MethodInvokingActionCommandExecutor
extends ArgumentConvertingMethodInvoker
implements ActionCommandExecutor, InitializingBean

An implementation of ActionCommandExecutor that delegates job execution to a specified (static or non-static) method for command execution.

Author:
Oliver Hutchison
See Also:
MethodInvoker

Field Summary
protected static org.apache.commons.logging.Log logger
           
 
Constructor Summary
MethodInvokingActionCommandExecutor()
           
 
Method Summary
 void afterPropertiesSet()
           
 void execute()
          Performs the action.
 
Methods inherited from class org.springframework.beans.support.ArgumentConvertingMethodInvoker
findMatchingMethod, getDefaultTypeConverter, getTypeConverter, registerCustomEditor, setTypeConverter
 
Methods inherited from class org.springframework.util.MethodInvoker
getArguments, getPreparedMethod, getTargetClass, getTargetMethod, getTargetObject, getTypeDifferenceWeight, invoke, isPrepared, prepare, resolveClassName, setArguments, setStaticMethod, setTargetClass, setTargetMethod, setTargetObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.commons.logging.Log logger
Constructor Detail

MethodInvokingActionCommandExecutor

public MethodInvokingActionCommandExecutor()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

execute

public void execute()
Description copied from interface: ActionCommandExecutor
Performs the action.

Specified by:
execute in interface ActionCommandExecutor


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.