org.jboss.msc.reflect
Class Property
java.lang.Object
org.jboss.msc.reflect.Property
public final class Property
- extends Object
A JavaBean-style property.
- Author:
- David M. Lloyd
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getProperty
public static Property getProperty(Class<?> declaringClass,
String name)
getNonPublicProperty
public static Property getNonPublicProperty(Class<?> declaringClass,
String name,
AccessControlContext context)
get
public Object get(Object target)
throws InvocationTargetException,
IllegalAccessException
- Throws:
InvocationTargetException
IllegalAccessException
set
public void set(Object target,
Object value)
throws InvocationTargetException,
IllegalAccessException
- Throws:
InvocationTargetException
IllegalAccessException
set
public void set(Object target,
Object value,
Class<?> matchClass)
throws InvocationTargetException,
IllegalAccessException
- Throws:
InvocationTargetException
IllegalAccessException
getDeclaringClass
public Class<?> getDeclaringClass()
getName
public String getName()
Copyright © 2010 JBoss, a division of Red Hat, Inc.