jrun.ejb.interceptors
Class AbstractInterceptor
jrunx.kernel.ServiceAdapter
|
+--jrun.ejb.interceptors.AbstractInterceptor
- All Implemented Interfaces:
- Interceptor, InterceptorMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean
- Direct Known Subclasses:
- EJBSecurityInterceptor, EntityInstanceInterceptor, EntitySynchronizationInterceptor, InvokerInterceptor, LoggerInterceptor, MessageDrivenInstanceInterceptor, OTSTransactionInterceptor, StatefulClusterInterceptor, StatefulSessionInstanceInterceptor, StatelessSessionInstanceInterceptor, TransactionInterceptor
- public abstract class AbstractInterceptor
- extends ServiceAdapter
- implements Interceptor
This is the base implementation of an Interceptor for an EJBContainer.
Functionality is provided to get/set the next and previous Interceptors
linked to this one, and to get/set the Container to which this Interceptor
belongs. A convenience method for accessing the Container's MetaData
is also provided.
- See Also:
- Serialized Form
| Fields inherited from class jrunx.kernel.ServiceAdapter |
DEFAULT_DEACTIVATED, DEFAULT_DOMAIN, DOMAIN_NAME_SEPARATOR, DOMAIN_NAME_SUFFIX, domainName, jndiBindable, LOGGER_CACHE_TIME, SCHEDULER_SERVICE, SECURITY_MANAGER, server, status, TRANSACTION_MANAGER |
| Methods inherited from class jrunx.kernel.ServiceAdapter |
bind, destroy, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, init, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, start, stop, toString, unbind, unscheduleRunnable, updateStatus |
| Methods inherited from interface jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
container
protected EJBContainer container
previous
protected Interceptor previous
next
protected Interceptor next
ISFIRST_MESSAGE
protected static java.lang.String ISFIRST_MESSAGE
ISLAST_MESSAGE
protected static java.lang.String ISLAST_MESSAGE
AbstractInterceptor
public AbstractInterceptor(EJBContainer container)
getContainerName
public java.lang.String getContainerName()
- Specified by:
getContainerName in interface InterceptorMBean
getNextInterceptorName
public java.lang.String getNextInterceptorName()
- Specified by:
getNextInterceptorName in interface InterceptorMBean
getPreviousInterceptorName
public java.lang.String getPreviousInterceptorName()
- Specified by:
getPreviousInterceptorName in interface InterceptorMBean
getContainer
public EJBContainer getContainer()
- Specified by:
getContainer in interface Interceptor
setNext
public void setNext(Interceptor interceptor)
- Specified by:
setNext in interface Interceptor
getNext
public Interceptor getNext()
- Specified by:
getNext in interface Interceptor
setPrevious
public void setPrevious(Interceptor interceptor)
- Specified by:
setPrevious in interface Interceptor
getPrevious
public Interceptor getPrevious()
- Specified by:
getPrevious in interface Interceptor
getEJBMetaData
public EJBMetaData getEJBMetaData()
- Specified by:
getEJBMetaData in interface Interceptor
invokeHomeMethod
public java.lang.Object invokeHomeMethod(EJBInvocation ctx)
throws java.lang.Exception
- Specified by:
invokeHomeMethod in interface Interceptor
invokeObjectMethod
public java.lang.Object invokeObjectMethod(EJBInvocation ctx)
throws java.lang.Exception
- Specified by:
invokeObjectMethod in interface Interceptor
Copyright � 2002 Macromedia Corporation. All Rights Reserved.