JBoss Modular Service Kernel API 1.0.0.Beta1

org.jboss.msc.reflect
Class Property

java.lang.Object
  extended by org.jboss.msc.reflect.Property

public final class Property
extends Object

A JavaBean-style property.

Author:
David M. Lloyd

Method Summary
 Object get(Object target)
           
 Class<?> getDeclaringClass()
           
 String getName()
           
static Property getNonPublicProperty(Class<?> declaringClass, String name, AccessControlContext context)
           
static Property getProperty(Class<?> declaringClass, String name)
           
 void set(Object target, Object value)
           
 void set(Object target, Object value, Class<?> matchClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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()

JBoss Modular Service Kernel API 1.0.0.Beta1

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