net.kldp.beat.action
Class ActionService

java.lang.Object
  extended by net.kldp.beat.action.ActionService

public class ActionService
extends java.lang.Object


Field Summary
private  ActionContext context
           
 
Constructor Summary
ActionService(ServletContext context, HttpServletRequest request, HttpServletResponse response)
           
 
Method Summary
private  void dispatchView(Result result, java.lang.Object action)
           
 void doService(java.lang.Object action, ActionMapper mapper)
           
private  java.lang.String executeAction(java.lang.Object action)
           
private  boolean executeInterceptors(java.lang.Object action, java.util.Map<UserInterceptor,java.lang.annotation.Annotation> interceptors)
           
private  void executeSystemInterceptor(java.lang.Object action, java.util.Map<SystemInterceptor,java.lang.annotation.Annotation> systemInterceptors)
           
private  void initInterceptors(java.util.Map<UserInterceptor,java.lang.annotation.Annotation> interceptors)
           
private  void invokeMethod(java.lang.Object action, java.lang.reflect.Method method)
           
private  void returnToInput(java.lang.Object action, Result input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

private ActionContext context
Constructor Detail

ActionService

public ActionService(ServletContext context,
                     HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException
Throws:
ServletException
Method Detail

doService

public void doService(java.lang.Object action,
                      ActionMapper mapper)
               throws ServletException
Throws:
ServletException

initInterceptors

private void initInterceptors(java.util.Map<UserInterceptor,java.lang.annotation.Annotation> interceptors)
                       throws InterceptorException
Throws:
InterceptorException

dispatchView

private void dispatchView(Result result,
                          java.lang.Object action)
                   throws ServletException
Throws:
ServletException

returnToInput

private void returnToInput(java.lang.Object action,
                           Result input)
                    throws ServletException
Throws:
ServletException

invokeMethod

private void invokeMethod(java.lang.Object action,
                          java.lang.reflect.Method method)
                   throws ServletException
Throws:
ServletException

executeSystemInterceptor

private void executeSystemInterceptor(java.lang.Object action,
                                      java.util.Map<SystemInterceptor,java.lang.annotation.Annotation> systemInterceptors)
                               throws InterceptorException
Throws:
InterceptorException

executeInterceptors

private boolean executeInterceptors(java.lang.Object action,
                                    java.util.Map<UserInterceptor,java.lang.annotation.Annotation> interceptors)
                             throws ServletException
Throws:
ServletException

executeAction

private java.lang.String executeAction(java.lang.Object action)
                                throws ServletException
Throws:
ServletException