cz.cuni.amis.introspection.jmx
Class AttributeToPropertyAdapter

Package class diagram package AttributeToPropertyAdapter
java.lang.Object
  extended by cz.cuni.amis.introspection.Feature
      extended by cz.cuni.amis.introspection.Property
          extended by cz.cuni.amis.introspection.jmx.AttributeToPropertyAdapter

public class AttributeToPropertyAdapter
extends Property

Adapts a JMX Attribute to AMIS introspection Property.

Author:
Ik

Field Summary
 
Fields inherited from class cz.cuni.amis.introspection.Feature
name
 
Constructor Summary
AttributeToPropertyAdapter(MBeanAttributeInfo info, DynamicMBean folderMBean)
           
 
Method Summary
 Class getType()
           
 Object getValue()
          Get value of property.
 void setValue(Object newValue)
          Set value of property.
 
Methods inherited from class cz.cuni.amis.introspection.Feature
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeToPropertyAdapter

public AttributeToPropertyAdapter(MBeanAttributeInfo info,
                                  DynamicMBean folderMBean)
Method Detail

getValue

public Object getValue()
                throws IntrospectionException
Description copied from class: Property
Get value of property.

Specified by:
getValue in class Property
Returns:
Value of property
Throws:
IntrospectionException

setValue

public void setValue(Object newValue)
              throws IntrospectionException
Description copied from class: Property
Set value of property.

Specified by:
setValue in class Property
Throws:
IntrospectionException

getType

public Class getType()
              throws IntrospectionException
Specified by:
getType in class Property
Returns:
Type of this property.
Throws:
IntrospectionException


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.