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

ModelMBeanInfoInterceptor (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


org.jboss.mx.interceptor
Class ModelMBeanInfoInterceptor

java.lang.Object
  extended byorg.jboss.mx.interceptor.AbstractInterceptor
      extended byorg.jboss.mx.interceptor.ModelMBeanInfoInterceptor
All Implemented Interfaces:
Interceptor
Direct Known Subclasses:
ModelMBeanInterceptor

public class ModelMBeanInfoInterceptor
extends AbstractInterceptor

This interceptor returns the MBeanInfo from the invocation invoker. It only makes sense to use this interceptor as the last interceptor in the getMBeanInfo() call chain.

Version:
$Revision: 1.7 $
Author:
Juha Lindfors., Scott.Stark@jboss.org

Field Summary
 
Fields inherited from class org.jboss.mx.interceptor.AbstractInterceptor
isShared, log, name
 
Constructor Summary
ModelMBeanInfoInterceptor()
           
ModelMBeanInfoInterceptor(String name)
           
 
Method Summary
 Object invoke(Invocation invocation)
          Return the MBeanInfo from the invocation MBeanInvoker
 
Methods inherited from class org.jboss.mx.interceptor.AbstractInterceptor
destroy, getName, init, isShared, setLogger, setName, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModelMBeanInfoInterceptor

public ModelMBeanInfoInterceptor()

ModelMBeanInfoInterceptor

public ModelMBeanInfoInterceptor(String name)
Method Detail

invoke

public Object invoke(Invocation invocation)
              throws Throwable
Return the MBeanInfo from the invocation MBeanInvoker

Specified by:
invoke in interface Interceptor
Overrides:
invoke in class AbstractInterceptor
Parameters:
invocation -
Returns:
Throws:
InvocationException
Throwable
See Also:
Invocation, MBeanInvoker


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