Package org.jboss.util.property
An advanced property access, managment and notification system.
This system provides some helpful additions to the standard Java property system. Some of these features include:
- Events
- Convenience Grouping
- Array Properties
Aims to provide a JavaBeans style api for accessing properties in a simple, powerful and consistent fashion.
Package Specification
Related Documentation
Package Status
- STABLE
Todo
- Re-design storeage of properties; making them more tree-like
- Re-design property binding events; probably force use of a PropertyContainer sub-class or another JavaBeans like object
- Move back to planet57.core?
- Allow reading properties from a URL
- Read properties correctly with win32 or unix style pathing
- Create a property parser framework
- Add an XML property parser
- Add property map support and general configuration objects access. This will allow property.foo to be mapped to com.whatever.class.
- Allow configuration objects to take more than one property group name, using the order for precidence.
-
Interface Summary Interface Description BoundPropertyListener The listener interface for receiving bound property events (as well as property events).Configurable An interface that allows for dynamic configuration of instance objects with properties.PropertyListener The listener interface for receiving property events.PropertyReader Iterface used to allow a PropertyMap to read property definitions in an implementation independent fashion. -
Class Summary Class Description BoundPropertyAdapter An abstract adapter class for receiving bound property events.DefaultPropertyReader Reads properties from files specified via a system property.FieldBoundPropertyListener Binds property values to class fields.FilePropertyReader Reads properties from one or more files.MethodBoundPropertyListener Binds property values to class methods.Property Provides shorter method names for working with thePropertyManager
.PropertyAdapter An abstract adapter class for receving property events.PropertyContainer Provides helper methods for working with instance or class properties.PropertyEvent A property event.PropertyGroup This is a helper class to access a group of properties with out having to refer to their full names.PropertyManager A more robust replacement of java.lang.System for property access.PropertyMap A replacement for the standardjava.util.Properties
class which adds, among others, property event capabilities. -
Exception Summary Exception Description PropertyException This exception is thrown to indicate a non-fatal problem with the property system. -
Error Summary Error Description PropertyError Thrown to indicate a fatal problem with the property system.