public static class ResourceDMBean.MethodAccessor extends java.lang.Object implements ResourceDMBean.Accessor
Modifier and Type | Field and Description |
---|---|
protected java.lang.reflect.Method |
method |
protected java.lang.Object |
target |
Constructor and Description |
---|
MethodAccessor(java.lang.reflect.Method method,
java.lang.Object target) |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Method |
getMethod() |
java.lang.Object |
invoke(java.lang.Object new_val)
Invokes a getter or setter.
|
java.lang.String |
toString() |
protected final java.lang.reflect.Method method
protected final java.lang.Object target
public MethodAccessor(java.lang.reflect.Method method, java.lang.Object target)
public java.lang.reflect.Method getMethod()
public java.lang.Object invoke(java.lang.Object new_val) throws java.lang.Exception
ResourceDMBean.Accessor
invoke
in interface ResourceDMBean.Accessor
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1998-2020 Red Hat. All Rights Reserved.