Modifier and Type | Method and Description |
---|---|
PropertyIO |
PropertyType.getIo()
Gets the PropertyIO assigned to the propertyType.
|
PropertyIO |
PropertyCollection.getIo()
The PropertyIO.
|
PropertyIO |
Property.getIo()
The io from where the property gets and set the value of the property.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertyType.setIo(PropertyIO io)
Set/assign the PropertyIO to the proprerty type.
|
void |
Property.setIo(PropertyIO io)
Sets the PropertyIO for the property.
|
Modifier and Type | Method and Description |
---|---|
PropertyIO |
PropertyListCollection.getIo() |
PropertyIO |
PropertyFieldCollection.getIo() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
PropertiesJavaDefinitionPrinter.generateJavaDefinitionsAsList(PropertyIO io,
boolean suggestType)
Use a PropertyIO to load the properties that shall be parsed.
|
static List<Property<?>> |
PropertyCollectionFactory.initialize(List<Property<?>> properties,
PropertyIO io,
org.apache.commons.logging.Log logger,
PropertyValidationHandler validationHandler)
Initialize an list of Property's.
|
static List<Property<?>> |
PropertyCollectionFactory.initialize(Property<?>[] properties,
PropertyIO io,
org.apache.commons.logging.Log logger,
PropertyValidationHandler validationHandler)
Initialize an array of Property's.
|
static List<Property<?>> |
PropertyCollectionFactory.initializeFieldCollection(Object instance,
Class<?> clazz,
PropertyIO io,
org.apache.commons.logging.Log logger,
PropertyValidationHandler validationHandler,
PropertyFieldFilter propertyFieldFilter)
Initialize all fields in class of type Property and parses the accept method of "propertyFieldFilter".
|
static void |
PropertyCollectionFactory.initializeIO(PropertyIO io,
org.apache.commons.logging.Log logger,
PropertyValidationHandler validationHandler)
This will validate a PropertyIO.
|
void |
PropertyValidationHandler.invalidPropertyIO(org.apache.commons.logging.Log logger,
PropertyIO io,
Exception exception)
If the propertyIO was INVALID (aka it could NOT find the property file etc.)
|
void |
PropertyValidationHandler.validPropertyIO(org.apache.commons.logging.Log logger,
PropertyIO io)
A handle of a property IO that is valid.
|
Constructor and Description |
---|
PropertyExposedFieldCollection(PropertyIO io)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class,
and the PropertyValidationHandler is an instance of LoggingPropertyValidationHandler ,
and the logger is a new instance of Log for this class. |
PropertyExposedFieldCollection(PropertyIO io,
Class<?> clazz,
org.apache.commons.logging.Log logger,
PropertyValidationHandler propertyValidationHandler)
Constructor.
|
PropertyExposedFieldCollection(PropertyIO io,
org.apache.commons.logging.Log logger)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class,
and the PropertyValidationHandler is an instance of LoggingPropertyValidationHandler . |
PropertyExposedFieldCollection(PropertyIO io,
org.apache.commons.logging.Log logger,
PropertyValidationHandler propertyValidationHandler)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class. |
PropertyExposedFieldCollection(PropertyIO io,
PropertyValidationHandler propertyValidationHandler)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class,
and the logger is a new instance of Log for this class. |
PropertyExposedFinalFieldCollection(PropertyIO io)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class,
and the PropertyValidationHandler is an instance of LoggingPropertyValidationHandler ,
and the logger is a new instance of Log for this class. |
PropertyExposedFinalFieldCollection(PropertyIO io,
Class<?> clazz,
org.apache.commons.logging.Log logger,
PropertyValidationHandler propertyValidationHandler)
Constructor.
|
PropertyExposedFinalFieldCollection(PropertyIO io,
org.apache.commons.logging.Log logger)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class,
and the PropertyValidationHandler is an instance of LoggingPropertyValidationHandler . |
PropertyExposedFinalFieldCollection(PropertyIO io,
org.apache.commons.logging.Log logger,
PropertyValidationHandler propertyValidationHandler)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class. |
PropertyExposedFinalFieldCollection(PropertyIO io,
PropertyValidationHandler propertyValidationHandler)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class,
and the logger is a new instance of Log for this class. |
PropertyFieldCollection(PropertyFieldFilter propertyFieldFilter,
PropertyIO io)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class,
and the PropertyValidationHandler is an instance of LoggingPropertyValidationHandler ,
and the logger is a new instance of Log for this class. |
PropertyFieldCollection(PropertyFieldFilter propertyFieldFilter,
PropertyIO io,
Class<?> clazz,
org.apache.commons.logging.Log logger,
PropertyValidationHandler propertyValidationHandler)
Constructor.
|
PropertyFieldCollection(PropertyFieldFilter propertyFieldFilter,
PropertyIO io,
org.apache.commons.logging.Log logger)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class,
and the PropertyValidationHandler is an instance of LoggingPropertyValidationHandler . |
PropertyFieldCollection(PropertyFieldFilter propertyFieldFilter,
PropertyIO io,
org.apache.commons.logging.Log logger,
PropertyValidationHandler propertyValidationHandler)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class. |
PropertyFieldCollection(PropertyFieldFilter propertyFieldFilter,
PropertyIO io,
PropertyValidationHandler propertyValidationHandler)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class,
and the logger is a new instance of Log for this class. |
PropertyListCollection(PropertyIO io,
org.apache.commons.logging.Log logger,
List<Property<?>> propertyList,
PropertyValidationHandler propertyValidationHandler)
Constructor.
|
PropertyListCollection(PropertyIO io,
org.apache.commons.logging.Log logger,
Property<?>[] propertyArray,
PropertyValidationHandler validationHandler)
Constructor.
|
PropertyListCollection(PropertyIO io,
org.apache.commons.logging.Log logger,
PropertyValidationHandler validationHandler,
Property<?>... propertyArray)
Constructor.
|
PropertyStaticCollection(PropertyIO io)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class,
and the PropertyValidationHandler is an instance of LoggingPropertyValidationHandler ,
and the logger is a new instance of Log for this class. |
PropertyStaticCollection(PropertyIO io,
Class<?> clazz,
org.apache.commons.logging.Log logger,
PropertyValidationHandler propertyValidationHandler)
Constructor.
|
PropertyStaticCollection(PropertyIO io,
org.apache.commons.logging.Log logger)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class,
and the PropertyValidationHandler is an instance of LoggingPropertyValidationHandler . |
PropertyStaticCollection(PropertyIO io,
org.apache.commons.logging.Log logger,
PropertyValidationHandler propertyValidationHandler)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class. |
PropertyStaticCollection(PropertyIO io,
PropertyValidationHandler propertyValidationHandler)
Constructor, where the class from where detection of static members of class type
Property will be performed is this class,
and the logger is a new instance of Log for this class. |
Modifier and Type | Method and Description |
---|---|
static String |
PropertyValidationHandlerUtils.getPropertyIOInvalidMessage(PropertyIO io,
Exception exception)
Builds a message for a invalid
PropertyIO . |
static String |
PropertyValidationHandlerUtils.getPropertyIOValidMessage(PropertyIO io)
Builds a message for a valid
PropertyIO . |
void |
SendMessagePropertyValidationHandler.invalidPropertyIO(org.apache.commons.logging.Log logger,
PropertyIO io,
Exception exception) |
void |
LoggingPropertyValidationHandler.invalidPropertyIO(org.apache.commons.logging.Log logger,
PropertyIO io,
Exception exception) |
void |
LoggingPropertyValidationHandler.validPropertyIO(org.apache.commons.logging.Log logger,
PropertyIO io) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFilePropertyIO
Abstract PropertyIO for handling file properties.
|
class |
AbstractJDBCPropertyIO
Abstract class which implements all the JDBC handling, all it needs is the implementation of getConnection.
|
class |
AbstractPropertyIO
An implementation of PropertyIO that handles caching of typed objects and the read only property.
|
class |
AbstractURLPropertyIO
Abstract PropertyIO which gets Properties from an URL location.
|
class |
AbstractXMLFilePropertyIO
Abstract class for handling properties which is stored in xml files.
|
class |
AbstractXMLInputStreamPropertyIO
Abstract class for handling properties which is stored in an inputstream returning xml content.
|
class |
CompositePropertyIO
Load properties from multiple PropertyIO's.
|
class |
DatasourceJDBCPropertyIO
An implementation of
DatasourceJDBCPropertyIO which gets its connection from a datasource name. |
class |
FilePropertyIO
Loads the properties via a
File using Properties.load method. |
class |
InputStreamPropertyIO
Class for handling properties which is stored in an inputstream that can be loaded by the
Properties.load() method. |
class |
ManifestPropertyIO
ManifestPropertyIO id a readonly and cached PropertyIO.
|
class |
MemoryPropertyIO
A PropertyIO which holds it properties in memory.
|
class |
ResourceBundlePropertyIO
Loads the properties via a
ResourceBundle.getBundle method. |
class |
ResourceFilePropertyIO
Deprecated.
please see ResourceStreamPropertyIO or ResourceBundlePropertyIO, will be DELETED in next version.
|
class |
ResourceStreamPropertyIO
Loads the property file from the
classLoader.getResourceAsStream() . |
class |
ServletContextPropertyIO
Loads the property file from a file, resolving the path with
getServletContext().getRealPath(getResourceName()) . |
class |
UrlJDBCPropertyIO
An implementation of
AbstractJDBCPropertyIO which gets its connection from an URL definition. |
class |
WebContextParamsPropertyIO
Loads the InitParameters defined by the
ServletContext.getInitParameterNames() into a memory stored Properties instance. |
class |
XMLParsedFilePropertyIO
Parses a XML file to Properties using an instance of XMLPropertiesParser
|
Modifier and Type | Method and Description |
---|---|
protected List<PropertyIO> |
CompositePropertyIO.getIos()
Gets the list of PropertyIO's.
|
Constructor and Description |
---|
CompositePropertyIO(PropertyIO... ios)
Returns a
CompositePropertyIO initialized with an array of PropertyIO instances. |
MemoryPropertyIO(PropertyIO io)
Returns a
MemoryPropertyIO which is initialized with a Properties instance from another PropertyIO using
the method PropertyIO.getProperties() . |
Constructor and Description |
---|
CompositePropertyIO(List<? extends PropertyIO> ios)
Returns a
CompositePropertyIO initialized with an list of PropertyIO instances. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHttpPropertyIO
Abstract class for handling properties via HttpServletRequest.
|
class |
HttpCookiesPropertyIO
Handle Cookie objects from the HttpServletRequest.
Can read and write cookies. |
class |
HttpRequestHeadersPropertyIO
Load properties from the HttpServletRequest Headers.
|
class |
HttpRequestParamsPropertyIO
Load properties from
HttpServletRequest.getParameterMap() . |
class |
HttpRequestPropertyIO
Load properties from
HttpServletRequest.getParameterMap() and from HttpServletRequest.getHeaders(...) . |
class |
HttpResponseHeadersPropertyIO
Load and writes properties from the HttpServletResponse Headers.
|
Modifier and Type | Class and Description |
---|---|
class |
JBossSystemPropertiesPropertyIO
Loads the properties from a XML file from an Jboss xml file.
|