org.apache.aries.blueprint.utils
Class ReflectionUtils.PropertyDescriptor

java.lang.Object
  extended by org.apache.aries.blueprint.utils.ReflectionUtils.PropertyDescriptor
Enclosing class:
ReflectionUtils

public abstract static class ReflectionUtils.PropertyDescriptor
extends Object


Constructor Summary
ReflectionUtils.PropertyDescriptor(String name)
           
 
Method Summary
abstract  boolean allowsGet()
           
abstract  boolean allowsSet()
           
protected  Object convert(Object obj, Type type)
           
 Object get(Object instance, ExtendedBlueprintContainer container)
           
 String getName()
           
protected abstract  Object internalGet(ExtendedBlueprintContainer container, Object instance)
           
protected abstract  void internalSet(ExtendedBlueprintContainer container, Object instance, Object value)
           
 void set(Object instance, Object value, ExtendedBlueprintContainer container)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionUtils.PropertyDescriptor

public ReflectionUtils.PropertyDescriptor(String name)
Method Detail

getName

public String getName()

allowsGet

public abstract boolean allowsGet()

allowsSet

public abstract boolean allowsSet()

internalGet

protected abstract Object internalGet(ExtendedBlueprintContainer container,
                                      Object instance)
                               throws Exception
Throws:
Exception

internalSet

protected abstract void internalSet(ExtendedBlueprintContainer container,
                                    Object instance,
                                    Object value)
                             throws Exception
Throws:
Exception

get

public Object get(Object instance,
                  ExtendedBlueprintContainer container)
           throws Exception
Throws:
Exception

set

public void set(Object instance,
                Object value,
                ExtendedBlueprintContainer container)
         throws Exception
Throws:
Exception

convert

protected Object convert(Object obj,
                         Type type)
                  throws Exception
Throws:
Exception


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.