org.jboss.injection.lang.reflect
Class MethodBeanProperty

java.lang.Object
  extended by org.jboss.injection.lang.reflect.AbstractAccessibleObjectBeanProperty<Method>
      extended by org.jboss.injection.lang.reflect.MethodBeanProperty
All Implemented Interfaces:
BeanProperty

public class MethodBeanProperty
extends AbstractAccessibleObjectBeanProperty<Method>

Morphs a setter method into a bean property.

Version:
$Revision: $
Author:
Carlo de Wolf

Constructor Summary
MethodBeanProperty(Method method)
           
 
Method Summary
 Class<?> getDeclaringClass()
           
protected  Method getMethod()
           
 String getName()
           
 Class<?> getType()
           
 void set(Object instance, 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(Method method)
Parameters:
method -
Method Detail

getDeclaringClass

public Class<?> getDeclaringClass()

getName

public String getName()

getMethod

protected Method getMethod()

getType

public Class<?> getType()

set

public void set(Object instance,
                Object value)


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.