org.jfox.ejb.plugin
Class InvokerChain

java.lang.Object
  extended byorg.jfox.ejb.plugin.InvokerChain
Direct Known Subclasses:
StatefulInvokerChain, StatelessInvokerChain

public abstract class InvokerChain
extends java.lang.Object

对于一个 Bean 的调用链,Bucket 利用调用链来完成具体的操作


Field Summary
protected  java.util.List invokers
           
 
Constructor Summary
InvokerChain()
           
 
Method Summary
 void addInvoker(Invoker invoker)
           
abstract  java.lang.Object invokeBean(Bucket bucket, Invocation invocation)
           
abstract  java.lang.Object invokeHome(Bucket bucket, Invocation invocation)
           
static java.lang.Object nextInvokeBean(Bucket bucket, Invocation invocation, java.util.Iterator iter)
           
static java.lang.Object nextInvokeHome(Bucket bucket, Invocation invocation, java.util.Iterator iter)
           
 void removeInvoker(java.lang.String invokerClassName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

invokers

protected java.util.List invokers
Constructor Detail

InvokerChain

public InvokerChain()
Method Detail

nextInvokeHome

public static java.lang.Object nextInvokeHome(Bucket bucket,
                                              Invocation invocation,
                                              java.util.Iterator iter)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

nextInvokeBean

public static java.lang.Object nextInvokeBean(Bucket bucket,
                                              Invocation invocation,
                                              java.util.Iterator iter)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

addInvoker

public void addInvoker(Invoker invoker)

removeInvoker

public void removeInvoker(java.lang.String invokerClassName)

invokeHome

public abstract java.lang.Object invokeHome(Bucket bucket,
                                            Invocation invocation)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

invokeBean

public abstract java.lang.Object invokeBean(Bucket bucket,
                                            Invocation invocation)
                                     throws java.lang.Exception
Throws:
java.lang.Exception