org.apache.geronimo.openejb.cluster.stateful.container
Class WadiCache
java.lang.Object
org.apache.geronimo.openejb.cluster.stateful.container.WadiCache
- All Implemented Interfaces:
- SessionManagerTracker, org.apache.openejb.core.stateful.Cache<Object,org.apache.openejb.core.stateful.Instance>
public class WadiCache
- extends Object
- implements org.apache.openejb.core.stateful.Cache<Object,org.apache.openejb.core.stateful.Instance>, SessionManagerTracker
- Version:
- $Rev:$ $Date:$
| Nested classes/interfaces inherited from interface org.apache.openejb.core.stateful.Cache |
org.apache.openejb.core.stateful.Cache.CacheFilter<V>, org.apache.openejb.core.stateful.Cache.CacheListener<V> |
|
Constructor Summary |
WadiCache()
|
WadiCache(org.apache.openejb.core.stateful.Cache.CacheListener<org.apache.openejb.core.stateful.Instance> listener)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SESSION_KEY_ENTRY
public static final String SESSION_KEY_ENTRY
- See Also:
- Constant Field Values
WadiCache
public WadiCache()
WadiCache
public WadiCache(org.apache.openejb.core.stateful.Cache.CacheListener<org.apache.openejb.core.stateful.Instance> listener)
getListener
public org.apache.openejb.core.stateful.Cache.CacheListener<org.apache.openejb.core.stateful.Instance> getListener()
- Specified by:
getListener in interface org.apache.openejb.core.stateful.Cache<Object,org.apache.openejb.core.stateful.Instance>
setListener
public void setListener(org.apache.openejb.core.stateful.Cache.CacheListener<org.apache.openejb.core.stateful.Instance> listener)
- Specified by:
setListener in interface org.apache.openejb.core.stateful.Cache<Object,org.apache.openejb.core.stateful.Instance>
getSessionManager
public SessionManager getSessionManager(Object deploymentId)
addSessionManager
public void addSessionManager(Object deploymentId,
SessionManager sessionManager)
- Specified by:
addSessionManager in interface SessionManagerTracker
removeSessionManager
public void removeSessionManager(Object deploymentId,
SessionManager sessionManager)
- Specified by:
removeSessionManager in interface SessionManagerTracker
add
public void add(Object primaryKey,
org.apache.openejb.core.stateful.Instance instance)
- Specified by:
add in interface org.apache.openejb.core.stateful.Cache<Object,org.apache.openejb.core.stateful.Instance>
checkOut
public org.apache.openejb.core.stateful.Instance checkOut(Object primaryKey)
throws Exception
- Specified by:
checkOut in interface org.apache.openejb.core.stateful.Cache<Object,org.apache.openejb.core.stateful.Instance>
- Throws:
Exception
checkIn
public void checkIn(Object primaryKey)
- Specified by:
checkIn in interface org.apache.openejb.core.stateful.Cache<Object,org.apache.openejb.core.stateful.Instance>
remove
public org.apache.openejb.core.stateful.Instance remove(Object primaryKey)
- Specified by:
remove in interface org.apache.openejb.core.stateful.Cache<Object,org.apache.openejb.core.stateful.Instance>
removeAll
public void removeAll(org.apache.openejb.core.stateful.Cache.CacheFilter<org.apache.openejb.core.stateful.Instance> filter)
- Specified by:
removeAll in interface org.apache.openejb.core.stateful.Cache<Object,org.apache.openejb.core.stateful.Instance>
getWadiInstance
protected org.apache.geronimo.openejb.cluster.stateful.container.WadiCache.WadiInstance getWadiInstance(Session session)
Copyright © 2003-2009 The Apache Geronimo development community. All Rights Reserved.