
tofigurator
Description
The target of this project is to build easy, reliable, flexible and universal Java Configuration Tool. This library is very good and also very compact implementation of IoC(Inversion of Control) and DI(Dependency Injection) programming concepts. Jar is very small and is suitable even for Java Applets. Works well and for Java Clients and for Java Server Applications. Can manage very small and very large number of configuration parameters. Can inject configuration values into any reachable Java Class and/or Java Object.
Requirements
- This is a library of several Java Classes packaged into jar
- This tool allows setting new values to Java class and instance properties
- This tool fits to any Java project and is generic
- It is simple and intuitively understandable
- It is XML based declarative programming style
- It is easily integrating with any Java project with minimum efforts and maximum use
- It can handle hundreds of thousands configuration parameters
- It supports several levels of Hierarchy. As Package, Class, Instances, Parameters, Arrays and Files Hierarchies
- Configuration structure could be not matching the code structure
- Soft code reflection. Meaning use Java reflection capabilities in soft manner avoiding performance and resources management problems
- Type freedom. Configuration is not dependent on code parameters types.
- Configuration could be even more complex and more flexible than java code(Type freedom concept is about developing configuration and code separately and then easy integrate)
- Interpretation is taking over interfacing
- Tofigurator is built on Elementry Principals
tofigurator Features
tofigurator package is made to configure Java Classes and Instances of Java Classes
Configuration is defined in XML files
Configuration files could import other configuration files. That creates a hierarchy of files. Recursive cross imports problem is resolved by allowing one time import for each file
tofigurator synchronizes it's inner configuration storage with Java System Properties. That allows accessing to System Parameters through tofigurator tools.
tofigurator is capable of exporting of all configuration parameters into XML files in flat and hierarchical manner.
tofigurator is capable to set values to all variables of all Java primitive types with any level of access protection. Meaning even private inner members of object are configurable by tofigurator package
tofigurator is capable to set values to String, Date and ParameterizedString members. Other special interpretation types could be easily added
tofigurator is self-configurable and for example the syntax of configuration XML files could be changed through configuration without changing the code
tofigurator is implemented as regular java class CConfigurator. Some additional functionalities are implemented in static wrapper SConfigurator
Configuration and Class structure matching is not mandatory. tofigurator is complaint to Type Freedom programming concept
tofigurator doesn't change value of class member if corresponding configuration parameter is not specified. So default values yet could be defined in Java classes
Configuration could be silent or not. Depends on configuration parameter. Default for tofigurator is silent behavior. If silent parameter is set to false tofigurator will report every conflict and parameter missing. That could prevent configuration problems and complications while code debugging
For more information click on Contents
Project Information
- License: Apache License 2.0
- 1 stars
- svn-based source control
Labels:
java
configuration
elementry
xml
declarative
typefreedom
hierarchy
reflection
IoC
DependencyInjection
configurator
Spring
compact
client
server