org.openejb.entity.cmp
Class InTxCacheInterceptor

java.lang.Object
  extended byorg.openejb.entity.cmp.InTxCacheInterceptor
All Implemented Interfaces:
org.apache.geronimo.core.service.Interceptor

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

This interceptor defines, if required, the InTxCache of the TransactionContext bound to the intercepted EJBInvocation. A CacheFlushStrategyFactory is used to create the CacheFlushStrategy to be used under the cover of the defined InTxCache.

Version:
$Revision: 446207 $ $Date: 2006-05-27 14:00:16 +0200 (Sat, 27 May 2006) $

Constructor Summary
InTxCacheInterceptor(org.apache.geronimo.core.service.Interceptor next, org.tranql.cache.CacheFlushStrategyFactory strategyFactory, org.tranql.intertxcache.FrontEndCache 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

InTxCacheInterceptor

public InTxCacheInterceptor(org.apache.geronimo.core.service.Interceptor next,
                            org.tranql.cache.CacheFlushStrategyFactory strategyFactory,
                            org.tranql.intertxcache.FrontEndCache 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-2006 OpenEJB. All Rights Reserved.