org.jfox.ejb3.invocation
Class InterceptorsEJBInvocationHandler

java.lang.Object
  extended by org.jfox.ejb3.EJBInvocationHandler
      extended by org.jfox.ejb3.invocation.InterceptorsEJBInvocationHandler

public class InterceptorsEJBInvocationHandler
extends EJBInvocationHandler

有 AroundInvoke method 和 bean method 构成 interceptor chain 最后一个 interceptor method 即可 bean method


Field Summary
 
Fields inherited from class org.jfox.ejb3.EJBInvocationHandler
logger
 
Constructor Summary
InterceptorsEJBInvocationHandler()
           
 
Method Summary
 java.lang.Object invoke(EJBInvocation invocation, java.util.Iterator<EJBInvocationHandler> chain)
          对 ejb invocation 进行处理
static void main(java.lang.String[] args)
           
 
Methods inherited from class org.jfox.ejb3.EJBInvocationHandler
next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorsEJBInvocationHandler

public InterceptorsEJBInvocationHandler()
Method Detail

invoke

public java.lang.Object invoke(EJBInvocation invocation,
                               java.util.Iterator<EJBInvocationHandler> chain)
                        throws java.lang.Exception
Description copied from class: EJBInvocationHandler
对 ejb invocation 进行处理

Specified by:
invoke in class EJBInvocationHandler
Parameters:
invocation - ejb invocation
chain - invocation china
Throws:
java.lang.Exception - any exception

main

public static void main(java.lang.String[] args)