net.kldp.beat.action
Class InterceptorInvoker

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

public class InterceptorInvoker
extends java.lang.Object


Field Summary
private  java.lang.Object action
           
private  ActionContext context
           
private  InterceptorStack stack
           
 
Constructor Summary
InterceptorInvoker(ActionContext context, InterceptorStack stack, java.lang.Object action)
           
 
Method Summary
private  void destroy(UserInterceptor interceptor)
           
 void destroyInterceptors()
           
 boolean executeAfterInterceptors()
           
 boolean executeBeforeInterceptors()
           
private  boolean executeInterceptors(java.lang.Object action, java.util.Map<UserInterceptor,java.lang.annotation.Annotation> interceptors)
           
 void executeSystemInterceptors()
           
private  void initInterceptors(java.util.Map<UserInterceptor,java.lang.annotation.Annotation> interceptors)
           
 void initUserInterceptors()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stack

private InterceptorStack stack

context

private ActionContext context

action

private java.lang.Object action
Constructor Detail

InterceptorInvoker

public InterceptorInvoker(ActionContext context,
                          InterceptorStack stack,
                          java.lang.Object action)
Method Detail

executeSystemInterceptors

public void executeSystemInterceptors()
                               throws InterceptorException
Throws:
InterceptorException

initUserInterceptors

public void initUserInterceptors()
                          throws InterceptorException
Throws:
InterceptorException

executeBeforeInterceptors

public boolean executeBeforeInterceptors()
                                  throws InterceptorException
Throws:
InterceptorException

executeAfterInterceptors

public boolean executeAfterInterceptors()
                                 throws InterceptorException
Throws:
InterceptorException

destroyInterceptors

public void destroyInterceptors()
                         throws InterceptorException
Throws:
InterceptorException

destroy

private void destroy(UserInterceptor interceptor)
              throws InterceptorException
Throws:
InterceptorException

initInterceptors

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

executeInterceptors

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