org.jboss.mx.interceptor
Class ModelMBeanInfoInterceptor

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

public class ModelMBeanInfoInterceptor
extends AbstractInterceptor (src)

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.


Field Summary
 
Fields inherited from class org.jboss.mx.interceptor.AbstractInterceptor (src)
isShared, log, name
 
Constructor Summary
ModelMBeanInfoInterceptor()
           
ModelMBeanInfoInterceptor(java.lang.String name)
           
 
Method Summary
 java.lang.Object invoke(Invocation (src)  invocation)
          Return the MBeanInfo from the invocation MBeanInvoker
 
Methods inherited from class org.jboss.mx.interceptor.AbstractInterceptor (src)
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(java.lang.String name)
Method Detail

invoke

public java.lang.Object invoke(Invocation (src)  invocation)
                        throws java.lang.Throwable
Return the MBeanInfo from the invocation MBeanInvoker

Specified by:
invoke in interface Interceptor (src)
Overrides:
invoke in class AbstractInterceptor (src)
Parameters:
invocation -
Returns:
Throws:
InvocationException
java.lang.Throwable
See Also:
Invocation (src) , MBeanInvoker (src)