org.jboss.deployment
abstract public class: SubDeployerInterceptorSupport [javadoc |
source]
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.system.InterceptorServiceMBeanSupport
org.jboss.deployment.SubDeployerInterceptorSupport
All Implemented Interfaces:
SubDeployerInterceptorMBean, InterceptorServiceMBean, org.jboss.kernel.spi.dependency.KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter
Base class that can be used for writing services
that dynamically hook to other interceptable deployers
in order to add functionality in the deployment cycle.
We override attach() to install a different interceptor
from that of the base class that understands SubDeployer
calls. Note that the baseclass invoke(Invocation) won't be
called, so no need to override it.
Simply call attach()/detach() from createService()/destroyService()
or startService()/stopService() pair methods to attach/detach the
interceptor to the configured Interceptable SubDeployer(s).
Then override any of the init/create/start/stop/destroy methods to
apply the extra interception functionality. Inside those methods
don't forget to forward the call using invokeNext().
- author:
< - a href="mailto:dimitris@jboss.org">Dimitris Andreadis
- version:
$ - Revision: 57108 $
| Methods from org.jboss.system.ServiceMBeanSupport: |
|---|
|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, startService, stop, stopService, unsetKernelControllerContext |