org.apache.openejb.core.managed
Class ManagedContainer.StatefulCacheListener
java.lang.Object
org.apache.openejb.core.managed.ManagedContainer.StatefulCacheListener
- All Implemented Interfaces:
- Cache.CacheListener<Instance>
- Enclosing class:
- ManagedContainer
public class ManagedContainer.StatefulCacheListener
- extends Object
- implements Cache.CacheListener<Instance>
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 |
ManagedContainer.StatefulCacheListener
public ManagedContainer.StatefulCacheListener()
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-2013 The Apache OpenEJB development community. All Rights Reserved.