Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » ejb » plugins » [javadoc | source]
org.jboss.ejb.plugins
public class: StatefulSessionInstanceCache [javadoc | source]
java.lang.Object
   org.jboss.ejb.plugins.AbstractInstanceCache
      org.jboss.ejb.plugins.StatefulSessionInstanceCache

All Implemented Interfaces:
    MetricsConstants, XmlLoadable, AbstractInstanceCacheMBean, Monitorable, InstanceCache

Direct Known Subclasses:
    StatefulHASessionInstanceCache

Cache for stateful session beans.
Fields inherited from org.jboss.ejb.plugins.AbstractInstanceCache:
log
Method from org.jboss.ejb.plugins.StatefulSessionInstanceCache Summary:
acquireContext,   activate,   canPassivate,   destroy,   doActivate,   freeContext,   getContainer,   getKey,   getPassivatedCount,   passivate,   postRemovalCleanup,   preRemovalPreparation,   removePassivated,   setContainer,   setKey
Methods from org.jboss.ejb.plugins.AbstractInstanceCache:
acquireContext,   activate,   canPassivate,   create,   destroy,   doActivate,   flush,   freeContext,   get,   getCache,   getCacheLock,   getCachePolicyString,   getCacheSize,   getContainer,   getKey,   getPassivatedCount,   importXml,   insert,   isActive,   logActivation,   logPassivation,   passivate,   release,   remove,   resetStatistic,   retrieveStatistic,   sample,   setKey,   start,   stop,   tryToPassivate,   tryToPassivate,   unableToPassivateDueToCtxLock
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ejb.plugins.StatefulSessionInstanceCache Detail:
 protected EnterpriseContext acquireContext() throws Exception 
 protected  void activate(EnterpriseContext ctx) throws RemoteException 
 protected boolean canPassivate(EnterpriseContext ctx) 
 public  void destroy() 
 protected boolean doActivate(EnterpriseContext ctx) throws RemoteException 
 protected  void freeContext(EnterpriseContext ctx) 
 protected synchronized Container getContainer() 
 protected Object getKey(EnterpriseContext ctx) 
 public long getPassivatedCount() 
    Get the passivated count.
 protected  void passivate(EnterpriseContext ctx) throws RemoteException 
 protected  void postRemovalCleanup(Object key) 
 protected  void preRemovalPreparation(Object key) 
 protected  void removePassivated(long maxLifeAfterPassivation) 
    Remove all passivated instances that have been inactive too long.
 public  void setContainer(Container c) 
 protected  void setKey(Object id,
    EnterpriseContext ctx)