Package org.jgroups.jmx
Class ResourceDMBean.FieldAccessor
- java.lang.Object
-
- org.jgroups.jmx.ResourceDMBean.FieldAccessor
-
- All Implemented Interfaces:
ResourceDMBean.Accessor
- Enclosing class:
- ResourceDMBean
public static class ResourceDMBean.FieldAccessor extends java.lang.Object implements ResourceDMBean.Accessor
-
-
Constructor Summary
Constructors Constructor Description FieldAccessor(java.lang.reflect.Field field, java.lang.Object target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.Field
getField()
java.lang.Object
invoke(java.lang.Object new_val)
Invokes a getter or setter.java.lang.String
toString()
-
-
-
Method Detail
-
getField
public java.lang.reflect.Field getField()
-
invoke
public java.lang.Object invoke(java.lang.Object new_val) throws java.lang.Exception
Description copied from interface:ResourceDMBean.Accessor
Invokes a getter or setter. For the getter, new_val must be ignored (null)- Specified by:
invoke
in interfaceResourceDMBean.Accessor
- Throws:
java.lang.Exception
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-