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

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


Uses of Interface
org.jboss.ejb.Interceptor

Packages that use Interceptor
org.jboss.cache.invalidation.triggers   
org.jboss.ejb Package description goes here
org.jboss.ejb.plugins Package description goes here
org.jboss.ejb.plugins.cmp.jdbc Package description goes here
org.jboss.ejb.plugins.cmp.jdbc2   
 

Uses of Interceptor in org.jboss.cache.invalidation.triggers
 

Classes in org.jboss.cache.invalidation.triggers that implement Interceptor
 class EntityBeanCacheBatchInvalidatorInterceptor
          The role of this interceptor is to detect that an entity has been modified after an invocation has been performed an use the InvalidationsTxGrouper static class so that invalidation messages can be groupped and sent at transaction-commit time in a single batch.
 

Uses of Interceptor in org.jboss.ejb
 

Classes in org.jboss.ejb that implement Interceptor
protected  class Container.AbstractContainerInterceptor
          The base class for container interceptors.
 

Fields in org.jboss.ejb declared as Interceptor
protected  Interceptor SessionContainer.interceptor
          This is the first interceptor in the chain.
protected  Interceptor MessageDrivenContainer.interceptor
          This is the first interceptor in the chain.
protected  Interceptor EntityContainer.interceptor
          This is the first interceptor in the chain.
 

Methods in org.jboss.ejb that return Interceptor
protected  Interceptor StatefulSessionContainer.createContainerInterceptor()
           
 Interceptor SessionContainer.getInterceptor()
          return first interceptor
 Interceptor MessageDrivenContainer.getInterceptor()
           
 Interceptor Interceptor.getNext()
          Get the next interceptor in the chain.
 Interceptor EntityContainer.getInterceptor()
           
 Interceptor Container.AbstractContainerInterceptor.getNext()
           
 

Methods in org.jboss.ejb with parameters of type Interceptor
 void SessionContainer.addInterceptor(Interceptor in)
          add an additional interceptor to the chain
 void MessageDrivenContainer.addInterceptor(Interceptor in)
           
 void Interceptor.setNext(Interceptor interceptor)
          Set the next interceptor in the chain.
 void EntityContainer.addInterceptor(Interceptor in)
           
abstract  void Container.addInterceptor(Interceptor in)
           
 void Container.AbstractContainerInterceptor.setNext(Interceptor interceptor)
           
 

Uses of Interceptor in org.jboss.ejb.plugins
 

Classes in org.jboss.ejb.plugins that implement Interceptor
 class AbstractInterceptor
          An abstract base class for container interceptors.
(package private)  class org.jboss.ejb.plugins.AbstractTxInterceptor
          A common superclass for the transaction interceptors.
(package private)  class org.jboss.ejb.plugins.AbstractTxInterceptorBMT
          A common superclass for the BMT transaction interceptors.
 class CallValidationInterceptor
          This Interceptor validates the incomming arguments and the return value of the call.
 class EntityCreationInterceptor
          The instance interceptors role is to break entity creation into two calls, one for ejbCreate and one for ejbPostCreate.
 class EntityInstanceInterceptor
          The instance interceptors role is to acquire a context representing the target object from the cache.
 class EntityLockInterceptor
          The lock interceptors role is to schedule thread wanting to invoke method on a target bean
 class EntityMultiInstanceInterceptor
          Deprecated. this interceptor was used with Instance Per Transaction containers which do not use a global cache but cache instances per transaction and always passivate instances at commit time (commit option C). This interceptor used org.jboss.ejb.TxEntityMap to compensate the absence of a real per transaction cache implementation. Now, the differences between IPT and standard container are:
  • org.jboss.ejb.plugins.PerTxEntityInstanceCache as the cache implementation;
  • NoLock as the locking policy;
  • empty container-cache-conf element.
(alex@jboss.org) The instance interceptors role is to acquire a context representing the target object from the cache.
 class EntityMultiInstanceSynchronizationInterceptor
          Deprecated. this interceptor was used with Instance Per Transaction containers which do not use a global cache but cache instances per transaction and always passivate instances at commit time (commit option C). The only difference from the EntityInstanceInterceptor is that it uses specific instance Synchronization implementation which always passivates the instance at commit time which is equivalent to commit option C in standard container. Now, the differences between IPT and standard container are:
  • org.jboss.ejb.plugins.PerTxEntityInstanceCache as the cache implementation;
  • NoLock as the locking policy;
  • empty container-cache-conf element.
(alex@jboss.org) The role of this interceptor is to synchronize the state of the cache with the underlying storage. It does this with the ejbLoad and ejbStore semantics of the EJB specification. In the presence of a transaction this is triggered by transaction demarcation. It registers a callback with the underlying transaction monitor through the JTA interfaces. If there is no transaction the policy is to store state upon returning from invocation. The synchronization polices A,B,C of the specification are taken care of here.

WARNING: critical code, get approval from senior developers before changing.

 class EntityReentranceInterceptor
          The role of this interceptor is to check for reentrancy.
 class EntitySynchronizationInterceptor
          The role of this interceptor is to synchronize the state of the cache with the underlying storage.
 class JaasAuthenticationInterceptor
          This interceptor is where the EJB 2.1 authentication is performed along with the run-as identity establishment.
 class JaccAuthorizationInterceptor
          This interceptor is where the JACC ejb container authorization is performed.
 class LogInterceptor
          An interceptor used to log all invocations.
 class MessageDrivenInstanceInterceptor
          This container acquires the given instance.
 class MessageDrivenTxInterceptorBMT
          This interceptor handles transactions for message BMT beans.
 class MetricsInterceptor
          MetricsInterceptor collects data from the bean invocation call and publishes them on a JMS topic (bound to topic/metrics in the name service).
 class ProxyFactoryFinderInterceptor
          This interceptor injects the ProxyFactory into the ThreadLocal container variable
 class RunAsSecurityInterceptor
          An interceptor that enforces the run-as identity declared by a bean.
 class SecurityInterceptor
          The SecurityInterceptor is where the EJB 2.0 declarative security model is enforced.
 class SecurityProxyInterceptor
          The SecurityProxyInterceptor is where the EJB custom security proxy integration is performed.
 class SecurityRolesInterceptor
          The declarative roles based authorization interceptor which uses the RealmMapping interface of the associated security domain.
 class StatefulSessionInstanceInterceptor
          This container acquires the given instance.
 class StatelessSessionInstanceInterceptor
          This container acquires the given instance.
 class TxInterceptorBMT
          This interceptor handles transactions for session BMT beans.
 class TxInterceptorCMT
          This interceptor handles transactions for CMT beans.
 

Fields in org.jboss.ejb.plugins declared as Interceptor
protected  Interceptor AbstractInterceptor.nextInterceptor
          The next interceptor in the chain.
 

Methods in org.jboss.ejb.plugins that return Interceptor
 Interceptor AbstractInterceptor.getNext()
           
 

Methods in org.jboss.ejb.plugins with parameters of type Interceptor
 void AbstractInterceptor.setNext(Interceptor interceptor)
           
 

Uses of Interceptor in org.jboss.ejb.plugins.cmp.jdbc
 

Classes in org.jboss.ejb.plugins.cmp.jdbc that implement Interceptor
 class JDBCRelationInterceptor
          The role of this interceptor relationship messages from a related CMR field and invoke the specified message on this container's cmr field of the relationship.
 

Uses of Interceptor in org.jboss.ejb.plugins.cmp.jdbc2
 

Classes in org.jboss.ejb.plugins.cmp.jdbc2 that implement Interceptor
 class RelationInterceptor
           
 



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