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: 1.3 $ $Date: 2004/07/18 22:32:24 $

Constructor Summary
StatefulInstanceInterceptor(org.apache.geronimo.core.service.Interceptor next, Object containerId, InstanceFactory factory, InstanceCache cache)
           
 
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)
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-2005 OpenEJB. All Rights Reserved.