org.jboss.injection.lang.reflect
Class MethodBeanProperty
java.lang.Object
org.jboss.injection.lang.reflect.AbstractAccessibleObjectBeanProperty<java.lang.reflect.Method>
org.jboss.injection.lang.reflect.MethodBeanProperty
- All Implemented Interfaces:
- BeanProperty
public class MethodBeanProperty
- extends AbstractAccessibleObjectBeanProperty<java.lang.reflect.Method>
Morphs a setter method into a bean property.
|
Method Summary |
java.lang.Class<?> |
getDeclaringClass()
|
protected java.lang.reflect.Method |
getMethod()
|
java.lang.String |
getName()
|
java.lang.Class<?> |
getType()
|
void |
set(java.lang.Object instance,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MethodBeanProperty
public MethodBeanProperty(java.lang.reflect.Method method)
- Parameters:
method -
getDeclaringClass
public java.lang.Class<?> getDeclaringClass()
getName
public java.lang.String getName()
getMethod
protected java.lang.reflect.Method getMethod()
getType
public java.lang.Class<?> getType()
set
public void set(java.lang.Object instance,
java.lang.Object value)