org.jboss.injection.lang.reflect
Class MethodBeanProperty
java.lang.Object
org.jboss.injection.lang.reflect.AbstractAccessibleObjectBeanProperty<Method>
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
MethodBeanProperty
public MethodBeanProperty(Method method)
- Parameters:
method
-
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.