org.jboss.system.microcontainer.jmx
Class JMXFieldAnnotationPlugin

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.reflect.spi.FieldInfo>
                  extended by org.jboss.system.microcontainer.jmx.JMXFieldAnnotationPlugin
All Implemented Interfaces:
Cloneable, org.jboss.kernel.plugins.annotations.AnnotationPlugin<org.jboss.reflect.spi.FieldInfo,org.jboss.aop.microcontainer.aspects.jmx.JMX>, org.jboss.kernel.plugins.annotations.MetaDataAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,org.jboss.aop.microcontainer.aspects.jmx.JMX>, org.jboss.util.JBossInterface

public class JMXFieldAnnotationPlugin
extends JMXAnnotationPlugin<org.jboss.reflect.spi.FieldInfo>

Supporting @JMX on fields.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
JMXFieldAnnotationPlugin()
           
 
Method Summary
protected  Class<?> getExposedInterface(org.jboss.reflect.spi.FieldInfo info)
          Get exposed interface from info.
protected  String getName(org.jboss.reflect.spi.FieldInfo 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.MetaDataAnnotationPlugin
applyAnnotation, getAnnotation, getSupportedTypes
 

Constructor Detail

JMXFieldAnnotationPlugin

public JMXFieldAnnotationPlugin()
Method Detail

isElementTypeSupported

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

getExposedInterface

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

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

getName

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

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


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