org.jboss.mq.test
Class LogInterceptor

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.test.LogInterceptor
All Implemented Interfaces:
InterceptorMBean (src) , java.lang.reflect.InvocationHandler, LogInterceptorMBean (src) , MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)

public class LogInterceptor
extends InterceptorMBeanSupport (src)
implements java.lang.reflect.InvocationHandler, LogInterceptorMBean (src)

The log interceptor.


Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src)
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
LogInterceptor()
           
 
Method Summary
protected  void describe(java.lang.StringBuffer buffer, java.lang.reflect.Method method, java.lang.Object[] args)
           
protected  void dump(java.lang.StringBuffer buffer, java.lang.Object obj)
           
 JMSServerInterceptor (src) getInterceptor()
           
 java.lang.String getInterceptorClass()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 void setInterceptorClass(java.lang.String c)
           
 
Methods inherited from class org.jboss.mq.server.jmx.InterceptorMBeanSupport (src)
getNextInterceptor, setNextInterceptor, startService
 
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

LogInterceptor

public LogInterceptor()
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

getInterceptorClass

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

setInterceptorClass

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

getInterceptor

public JMSServerInterceptor (src)  getInterceptor()
Specified by:
getInterceptor in interface InterceptorMBean (src)

describe

protected void describe(java.lang.StringBuffer buffer,
                        java.lang.reflect.Method method,
                        java.lang.Object[] args)
                 throws JMSException (src) 
Throws:
JMSException (src)

dump

protected void dump(java.lang.StringBuffer buffer,
                    java.lang.Object obj)
             throws JMSException (src) 
Throws:
JMSException (src)