net.kldp.beat.action
Class ActionInvoker
java.lang.Object
net.kldp.beat.action.ActionInvoker
public class ActionInvoker
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
action
private java.lang.Object action
beforeMethod
private java.lang.reflect.Method beforeMethod
resultBeforeMethod
private java.lang.reflect.Method resultBeforeMethod
afterMethod
private java.lang.reflect.Method afterMethod
ActionInvoker
public ActionInvoker(java.lang.Object action)
classifyMethods
private void classifyMethods(java.lang.reflect.Method[] methods)
- Action클래스안에서의 특별한 메서드들을 분류합니다. 이들 메서드는 Before, BeforResult, After를 선언한
메서드입니다.
- Parameters:
methods
-
execute
public java.lang.String execute()
throws ActionExecuteException
- Throws:
ActionExecuteException
executeBefore
public void executeBefore()
throws ActionExecuteException
- Throws:
ActionExecuteException
executeAfter
public void executeAfter()
throws ActionExecuteException
- Throws:
ActionExecuteException
executeBeforeResult
public void executeBeforeResult()
throws ActionExecuteException
- Throws:
ActionExecuteException
invokeMethod
private void invokeMethod(java.lang.reflect.Method method)
throws ActionExecuteException
- Throws:
ActionExecuteException