org.apache.openejb.core.stateful
Class StatefulContainer.StatefulCacheListener

java.lang.Object
  extended by org.apache.openejb.core.stateful.StatefulContainer.StatefulCacheListener
All Implemented Interfaces:
Cache.CacheListener<Instance>
Enclosing class:
StatefulContainer

public class StatefulContainer.StatefulCacheListener
extends java.lang.Object
implements Cache.CacheListener<Instance>


Constructor Summary
StatefulContainer.StatefulCacheListener()
           
 
Method Summary
 void afterLoad(Instance instance)
          Called after an entry is loaded from a store.
 void beforeStore(Instance instance)
          Called before an entry is written to a store.
 void timedOut(Instance instance)
          Called when an instance has been removed from the cache due to a time-out.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulContainer.StatefulCacheListener

public StatefulContainer.StatefulCacheListener()
Method Detail

afterLoad

public void afterLoad(Instance instance)
               throws SystemException,
                      ApplicationException
Description copied from interface: Cache.CacheListener
Called after an entry is loaded from a store.

Specified by:
afterLoad in interface Cache.CacheListener<Instance>
Throws:
SystemException
ApplicationException

beforeStore

public void beforeStore(Instance instance)
Description copied from interface: Cache.CacheListener
Called before an entry is written to a store.

Specified by:
beforeStore in interface Cache.CacheListener<Instance>

timedOut

public void timedOut(Instance instance)
Description copied from interface: Cache.CacheListener
Called when an instance has been removed from the cache due to a time-out.

Specified by:
timedOut in interface Cache.CacheListener<Instance>


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.