JBossMX Parent POM 6.0.0.GA

org.jboss.mx.interceptor
Class ModelMBeanInfoInterceptor

java.lang.Object
  extended by org.jboss.mx.interceptor.AbstractInterceptor
      extended by org.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: 85671 $
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:
the value
Throws:
Throwable - for any error
See Also:
Invocation, MBeanInvoker

JBossMX Parent POM 6.0.0.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.