站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 messaging API Documentation 英文版文档

LogInterceptor (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档


org.jboss.mq.test
Class LogInterceptor

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.mq.server.jmx.InterceptorMBeanSupport
              extended byorg.jboss.mq.test.LogInterceptor
All Implemented Interfaces:
InterceptorLoaderMBean, InterceptorMBean, InvocationHandler, LogInterceptorMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class LogInterceptor
extends InterceptorMBeanSupport
implements InvocationHandler, LogInterceptorMBean

The log interceptor.

Version:
$Revision: 1.1.2.1 $
Author:
Adrian Brock

Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean
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(StringBuffer buffer, Method method, Object[] args)
           
protected  void dump(StringBuffer buffer, Object obj)
           
 JMSServerInterceptor getInterceptor()
           
 String getInterceptorClass()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 void setInterceptorClass(String c)
           
 
Methods inherited from class org.jboss.mq.server.jmx.InterceptorMBeanSupport
getNextInterceptor, setNextInterceptor, startService
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
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
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.mq.server.jmx.InterceptorMBean
getNextInterceptor, setNextInterceptor
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

LogInterceptor

public LogInterceptor()
Method Detail

invoke

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

getInterceptorClass

public String getInterceptorClass()
                           throws Exception
Specified by:
getInterceptorClass in interface InterceptorLoaderMBean
Throws:
Exception

setInterceptorClass

public void setInterceptorClass(String c)
                         throws Exception
Specified by:
setInterceptorClass in interface InterceptorLoaderMBean
Throws:
Exception

getInterceptor

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

describe

protected void describe(StringBuffer buffer,
                        Method method,
                        Object[] args)
                 throws javax.jms.JMSException
Throws:
javax.jms.JMSException

dump

protected void dump(StringBuffer buffer,
                    Object obj)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException


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