Package org.pfsw.reflect

Reflection Utility Classes
Provides convenience methods on top of the standard Java reflection API.

See:
          Description

Interface Summary
AttributeReadAccess Specifies the methods an object must implement to provide generic read access to its attributes.
AttributeReadWriteAccess Specifies the methods an object must implement to provide generic write access to its attributes.
ElementWithModifiers  
IObjectProperty This is the generic view on a single object property (field / instance variable).
IObjectPropertyFilter A generic filter function definition for IObjectProperty objects.
IValueHolder<T> A generic interface to a single value held by another object.
 

Class Summary
BigDecimalFieldProxy Provides a field proxy for a BigDecimal type which offers some extra convenience methods for basic calculation.
ClassInfo<T> Contains the name of a class and the class itself.
Dynamic This class supports more dynamic programming than usually possible in Java.
DynamicMBeanDelegator<TRECEIVER> An generic reflection based implementation for applying a DynamicMBean interface on a another object that actually does not need to implement the DynamicMBean interface.
FieldProxy<T> A proxy for a specific field in a target object that allows getting and setting to that field via reflection, regardless of the field's visibility (except if a SecurityManager is active).
IntegerFieldProxy Provides a field proxy for an integer type which offers some extra convenience methods for basic calculation.
LongFieldProxy Provides a field proxy for a Long type which offers some extra convenience methods for basic calculation.
MapEntry<K,V> A simple implementation of Map.Entry interface that can be used with any kind of Map implementation.
MappedObject This is a wrapper for an arbitrary object to allow accessing its field through the Map interface where the field names are the keys.
Modifiers This class provides methods to conveniently set/unset modifier bits without having to fiddle around with bit logic.
NumericFieldProxy<T> Provides an abstract field proxy for numeric types which offers some extra convenience methods for basic calculation.
ObjectAccessWrapper A wrapper that is capable to read and write object fields via getter and setter methods or directly.
ObjectField This is an IObjectProperty implementing wrapper around a Field.
ObjectOrMapAccessWrapper A wrapper that is capable to read and write object fields via getter and setter methods or directly.
ReflectUtil The current instance (Singleton) of this class can be accessed by method current().
XmlReflection Provides a mechanism to create Java object instances from XML meta-data describing the objects to create.
 

Exception Summary
ReflectionException Special runtime exception to wrap all exceptions that might occur due to reflective access to objects and classes.
UnknownFieldException A runtime exception to signal that a field cannot be found by reflection.
 

Package org.pfsw.reflect Description

Reflection Utility Classes


Provides convenience methods on top of the standard Java reflection API.