org.jboss.ejb
Interface Interceptor

All Superinterfaces:
AllowedOperationsFlags, ContainerPlugin, org.jboss.system.Service
All Known Implementing Classes:
AbstractInterceptor, CallValidationInterceptor, Container.AbstractContainerInterceptor, EntityBeanCacheBatchInvalidatorInterceptor, EntityCreationInterceptor, EntityInstanceInterceptor, EntityLockInterceptor, EntityMultiInstanceInterceptor, EntityMultiInstanceSynchronizationInterceptor, EntityReentranceInterceptor, EntitySynchronizationInterceptor, JaasAuthenticationInterceptor, JaccAuthorizationInterceptor, JDBCRelationInterceptor, LogInterceptor, MessageDrivenInstanceInterceptor, MessageDrivenTxInterceptorBMT, MetricsInterceptor, ProxyFactoryFinderInterceptor, RelationInterceptor, RunAsSecurityInterceptor, SecurityInterceptor, SecurityProxyInterceptor, SecurityRolesInterceptor, SSLSessionInterceptor, StatefulSessionInstanceInterceptor, StatelessSessionInstanceInterceptor, TxInterceptorBMT, TxInterceptorCMT

public interface Interceptor
extends ContainerPlugin

Provides the interface for all container interceptors.

Version:
$Revision: 57209 $

20011219 marc fleury:

Author:
Rickard Öberg, Marc Fleury

Field Summary
 
Fields inherited from interface org.jboss.ejb.AllowedOperationsFlags
IN_AFTER_BEGIN, IN_AFTER_COMPLETION, IN_BEFORE_COMPLETION, IN_BUSINESS_METHOD, IN_EJB_ACTIVATE, IN_EJB_CREATE, IN_EJB_FIND, IN_EJB_HOME, IN_EJB_LOAD, IN_EJB_PASSIVATE, IN_EJB_POST_CREATE, IN_EJB_REMOVE, IN_EJB_STORE, IN_EJB_TIMEOUT, IN_INTERCEPTOR_METHOD, IN_SERVICE_ENDPOINT_METHOD, IN_SET_ENTITY_CONTEXT, IN_SET_MESSAGE_DRIVEN_CONTEXT, IN_SET_SESSION_CONTEXT, IN_UNSET_ENTITY_CONTEXT, NOT_ALLOWED
 
Method Summary
 Interceptor getNext()
          Get the next interceptor in the chain.
 Object invoke(Invocation mi)
          ???
 Object invokeHome(Invocation mi)
          ???
 void setNext(Interceptor interceptor)
          Set the next interceptor in the chain.
 
Methods inherited from interface org.jboss.ejb.ContainerPlugin
setContainer
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

setNext

void setNext(Interceptor interceptor)
Set the next interceptor in the chain.

Parameters:
interceptor - The next interceptor in the chain.

getNext

Interceptor getNext()
Get the next interceptor in the chain.

Returns:
The next interceptor in the chain.

invokeHome

Object invokeHome(Invocation mi)
                  throws Exception
???

Parameters:
mi - ???
Returns:
???
Throws:
Exception - ???

invoke

Object invoke(Invocation mi)
              throws Exception
???

Parameters:
mi - ???
Returns:
???
Throws:
Exception - ???


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