org.openejb.sfsb
Class StatefulInstanceInterceptor

java.lang.Object
  extended byorg.openejb.sfsb.StatefulInstanceInterceptor
All Implemented Interfaces:
org.apache.geronimo.core.service.Interceptor

public final class StatefulInstanceInterceptor
extends Object
implements org.apache.geronimo.core.service.Interceptor

Interceptor for Stateful Session EJBs that acquires an instance for execution. For create methods it creates a new context using the factory, and for every thing else it gets the context from either the main or transaction cache.

Version:
$Revision: 445237 $ $Date: 2005-03-02 00:34:40 +0100 (Wed, 02 Mar 2005) $

Constructor Summary
StatefulInstanceInterceptor(org.apache.geronimo.core.service.Interceptor next, Object containerId, InstanceFactory factory, InstanceCache cache, org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager)
           
 
Method Summary
 org.apache.geronimo.core.service.InvocationResult invoke(org.apache.geronimo.core.service.Invocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulInstanceInterceptor

public StatefulInstanceInterceptor(org.apache.geronimo.core.service.Interceptor next,
                                   Object containerId,
                                   InstanceFactory factory,
                                   InstanceCache cache,
                                   org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager)
Method Detail

invoke

public org.apache.geronimo.core.service.InvocationResult invoke(org.apache.geronimo.core.service.Invocation invocation)
                                                         throws Throwable
Specified by:
invoke in interface org.apache.geronimo.core.service.Interceptor
Throws:
Throwable


Copyright © 1999-2006 OpenEJB. All Rights Reserved.