org.jboss.injection.lang.reflect
Class MethodBeanProperty

java.lang.Object
  extended by org.jboss.injection.lang.reflect.AbstractAccessibleObjectBeanProperty<java.lang.reflect.Method>
      extended by 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.


Constructor Summary
MethodBeanProperty(java.lang.reflect.Method method)
           
 
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 org.jboss.injection.lang.reflect.AbstractAccessibleObjectBeanProperty
getAccessibleObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodBeanProperty

public MethodBeanProperty(java.lang.reflect.Method method)
Parameters:
method -
Method Detail

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)