org.jboss.system.microcontainer.jmx
Class JMXPropertyAnnotationPlugin

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin<T,C>
          extended by org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin<T,org.jboss.aop.microcontainer.aspects.jmx.JMX>
              extended by org.jboss.system.microcontainer.jmx.JMXAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo>
                  extended by org.jboss.system.microcontainer.jmx.JMXPropertyAnnotationPlugin
All Implemented Interfaces:
Cloneable, org.jboss.kernel.plugins.annotations.AnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo,org.jboss.aop.microcontainer.aspects.jmx.JMX>, org.jboss.kernel.plugins.annotations.MetaDataAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo,org.jboss.aop.microcontainer.aspects.jmx.JMX>, org.jboss.kernel.plugins.annotations.PropertyAware, org.jboss.util.JBossInterface

public class JMXPropertyAnnotationPlugin
extends JMXAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo>
implements org.jboss.kernel.plugins.annotations.PropertyAware

Supporting @JMX on getters.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
JMXPropertyAnnotationPlugin()
           
 
Method Summary
protected  Class<?> getExposedInterface(org.jboss.beans.info.spi.PropertyInfo info)
          Get exposed interface from info.
protected  String getName(org.jboss.beans.info.spi.PropertyInfo info)
          Get name from info.
protected  boolean isElementTypeSupported(ElementType elementType)
           
 
Methods inherited from class org.jboss.system.microcontainer.jmx.JMXAnnotationPlugin
createId, createObjectName, getJmxName, internalApplyAnnotation, internalCleanAnnotation, isCleanup, wrapJMX
 
Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin
applyAnnotation, checkIfNotAbstractBeanMetaDataSpecific, cleanAnnotation, internalApplyAnnotation, internalApplyAnnotation, isMetaDataAlreadyPresent
 
Methods inherited from class org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin
applyAnnotation, getAnnotation, getSupportedTypes, isAttributePresent, isAttributePresent, isCleanupOnly, isMetaDataAlreadyPresent, toShortString, toString
 
Methods inherited from class org.jboss.util.JBossObject
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.kernel.plugins.annotations.PropertyAware
applyAnnotation
 
Methods inherited from interface org.jboss.kernel.plugins.annotations.MetaDataAnnotationPlugin
applyAnnotation, getAnnotation, getSupportedTypes
 

Constructor Detail

JMXPropertyAnnotationPlugin

public JMXPropertyAnnotationPlugin()
Method Detail

isElementTypeSupported

protected boolean isElementTypeSupported(ElementType elementType)
Specified by:
isElementTypeSupported in class org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo,org.jboss.aop.microcontainer.aspects.jmx.JMX>

getExposedInterface

protected Class<?> getExposedInterface(org.jboss.beans.info.spi.PropertyInfo info)
Description copied from class: JMXAnnotationPlugin
Get exposed interface from info.

Specified by:
getExposedInterface in class JMXAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo>
Parameters:
info - the info
Returns:
exposed interface

getName

protected String getName(org.jboss.beans.info.spi.PropertyInfo info)
Description copied from class: JMXAnnotationPlugin
Get name from info.

Specified by:
getName in class JMXAnnotationPlugin<org.jboss.beans.info.spi.PropertyInfo>
Parameters:
info - the info
Returns:
info's name


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