org.jboss.mq.server.jmx
Class InterceptorLoader

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.mq.server.jmx.InterceptorMBeanSupport (src) 
              extended byorg.jboss.mq.server.jmx.InterceptorLoader
All Implemented Interfaces:
InterceptorMBean (src) , MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)

public class InterceptorLoader
extends InterceptorMBeanSupport (src)

Adapts JBossMQService to deliver JMSServerInvoker.


Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src)
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
InterceptorLoader()
           
 
Method Summary
 JMSServerInterceptor (src) getInterceptor()
          Gets the JMSServer attribute of the JBossMQService object, here we wrap the server in the invoker loaded.
 java.lang.String getInterceptorClass()
           
 void setInterceptorClass(java.lang.String c)
           
protected  void startService()
          Sub-classes should override this method to provide custum 'start' logic.
 
Methods inherited from class org.jboss.mq.server.jmx.InterceptorMBeanSupport (src)
getNextInterceptor, setNextInterceptor
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src)
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop, stopService
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.system.ServiceMBean (src)
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service (src)
create, destroy, start, stop
 

Constructor Detail

InterceptorLoader

public InterceptorLoader()
Method Detail

getInterceptor

public JMSServerInterceptor (src)  getInterceptor()
Gets the JMSServer attribute of the JBossMQService object, here we wrap the server in the invoker loaded.

Returns:
The JMSServer value

setInterceptorClass

public void setInterceptorClass(java.lang.String c)
                         throws java.lang.Exception
Throws:
java.lang.Exception

getInterceptorClass

public java.lang.String getInterceptorClass()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

startService

protected void startService()
                     throws java.lang.Exception
Description copied from class: ServiceMBeanSupport (src)
Sub-classes should override this method to provide custum 'start' logic.

This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.

Overrides:
startService in class InterceptorMBeanSupport (src)
Throws:
java.lang.Exception