站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

Uses of Class org.jboss.ejb.EnterpriseContext (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


Uses of Class
org.jboss.ejb.EnterpriseContext

Packages that use EnterpriseContext
org.jboss.ejb Package description goes here
org.jboss.ejb.plugins Package description goes here
 

Uses of EnterpriseContext in org.jboss.ejb
 

Subclasses of EnterpriseContext in org.jboss.ejb
 class EntityEnterpriseContext
          The EntityEnterpriseContext is used to associate EntityBean instances with metadata about it.
 class MessageDrivenEnterpriseContext
          Context for message driven beans.
 class StatefulSessionEnterpriseContext
          The enterprise context for stateful session beans.
 class StatelessSessionEnterpriseContext
          The enterprise context for stateless session beans.
 

Methods in org.jboss.ejb that return EnterpriseContext
 EnterpriseContext InstancePool.get()
          Get an instance without identity.
 EnterpriseContext InstanceCache.get(Object id)
          Gets a bean instance from this cache given the identity.
 

Methods in org.jboss.ejb with parameters of type EnterpriseContext
 void InstancePool.free(EnterpriseContext ctx)
          Return an anonymous instance after invocation.
 void InstancePool.discard(EnterpriseContext ctx)
          Discard an anonymous instance after invocation.
 void InstanceCache.insert(EnterpriseContext ctx)
          Inserts an active bean instance after creation or activation.
 void InstanceCache.release(EnterpriseContext ctx)
          Releases the given bean instance from this cache.
 

Uses of EnterpriseContext in org.jboss.ejb.plugins
 

Fields in org.jboss.ejb.plugins declared as EnterpriseContext
protected  EnterpriseContext AbstractPassivationJob.ctx
           
 

Methods in org.jboss.ejb.plugins that return EnterpriseContext
protected  EnterpriseContext StatelessSessionInstancePool.create(Object instance)
           
protected  EnterpriseContext StatefulSessionInstancePool.create(Object instance)
           
protected  EnterpriseContext StatefulSessionInstanceCache.acquireContext()
           
 EnterpriseContext SingletonStatelessSessionInstancePool.get()
          Get the singleton instance
protected  EnterpriseContext SingletonStatelessSessionInstancePool.create(Object instance, Container con)
           
 EnterpriseContext PerTxEntityInstanceCache.get(Object id)
           
protected  EnterpriseContext MessageDrivenInstancePool.create(Object instance)
           
protected  EnterpriseContext EntityInstancePool.create(Object instance)
           
 EnterpriseContext EntityInstanceCache.get(Object id)
           
protected  EnterpriseContext EntityInstanceCache.acquireContext()
           
 EnterpriseContext AbstractInstancePool.get()
          Get an instance without identity.
protected abstract  EnterpriseContext AbstractInstancePool.create(Object instance)
           
 EnterpriseContext AbstractInstanceCache.get(Object id)
           
protected abstract  EnterpriseContext AbstractInstanceCache.acquireContext()
          Acquires an EnterpriseContext from the pool
 

Methods in org.jboss.ejb.plugins with parameters of type EnterpriseContext
 void StatefulSessionInstancePool.free(EnterpriseContext ctx)
           
protected  void StatefulSessionInstanceInterceptor.register(EnterpriseContext ctx, Transaction tx, BeanLock lock)
           
protected  void StatefulSessionInstanceCache.passivate(EnterpriseContext ctx)
           
protected  void StatefulSessionInstanceCache.activate(EnterpriseContext ctx)
           
protected  boolean StatefulSessionInstanceCache.doActivate(EnterpriseContext ctx)
           
protected  void StatefulSessionInstanceCache.freeContext(EnterpriseContext ctx)
           
protected  Object StatefulSessionInstanceCache.getKey(EnterpriseContext ctx)
           
protected  void StatefulSessionInstanceCache.setKey(Object id, EnterpriseContext ctx)
           
protected  boolean StatefulSessionInstanceCache.canPassivate(EnterpriseContext ctx)
           
 void SingletonStatelessSessionInstancePool.free(EnterpriseContext ctx)
          Return an instance after invocation.
 void SingletonStatelessSessionInstancePool.discard(EnterpriseContext ctx)
           
 void PerTxEntityInstanceCache.insert(EnterpriseContext instance)
           
 void PerTxEntityInstanceCache.release(EnterpriseContext instance)
           
protected  void PerTxEntityInstanceCache.tryToPassivate(EnterpriseContext instance)
           
protected  boolean PerTxEntityInstanceCache.canPassivate(EnterpriseContext ctx)
           
 void EntityInstancePool.free(EnterpriseContext ctx)
          Return an instance to the free pool.
protected  Object EntityInstanceCache.getKey(EnterpriseContext ctx)
           
protected  void EntityInstanceCache.setKey(Object id, EnterpriseContext ctx)
           
protected  void EntityInstanceCache.passivate(EnterpriseContext ctx)
           
protected  void EntityInstanceCache.activate(EnterpriseContext ctx)
           
protected  void EntityInstanceCache.freeContext(EnterpriseContext ctx)
           
protected  boolean EntityInstanceCache.canPassivate(EnterpriseContext ctx)
           
 void AbstractInstancePool.free(EnterpriseContext ctx)
          Return an instance after invocation.
 void AbstractInstancePool.discard(EnterpriseContext ctx)
           
 void AbstractInstanceCache.insert(EnterpriseContext ctx)
           
protected  void AbstractInstanceCache.tryToPassivate(EnterpriseContext ctx)
           
 void AbstractInstanceCache.release(EnterpriseContext ctx)
           
protected abstract  void AbstractInstanceCache.passivate(EnterpriseContext ctx)
          Passivates the given EnterpriseContext
protected abstract  void AbstractInstanceCache.activate(EnterpriseContext ctx)
          Activates the given EnterpriseContext
protected  boolean AbstractInstanceCache.doActivate(EnterpriseContext ctx)
          Activate the given EnterpriseContext
protected abstract  void AbstractInstanceCache.freeContext(EnterpriseContext ctx)
          Frees the given EnterpriseContext to the pool
protected abstract  Object AbstractInstanceCache.getKey(EnterpriseContext ctx)
          Returns the key used by the cache to map the given context
protected abstract  void AbstractInstanceCache.setKey(Object id, EnterpriseContext ctx)
          Sets the given id as key for the given context
protected abstract  boolean AbstractInstanceCache.canPassivate(EnterpriseContext ctx)
          Returns whether the given context can be passivated or not
 



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.