资 源 简 介
Easy to use pre/post bean property initialization for the Java platform
Initialize4j is intended to simplify the pre-assignment of Java bean properties within an enterprise or normal application environment. It should be flexible in use and enhancement.
Annotation based
Technically all configuration is done by using Java annotations. With these annotations all values will get initialized in the case of NULL or EMPTY. Other conditions and initializations procedures are possible and can be easily extended just by implementing an interface.
Example
For configuration just mark your Java bean properties with the @Initialize annotation and tell Initialize4j which value should be set. The buildin or your own @When annotations can be used to configure different situations when a default value should be set. So you have full control over the indicating situations. And own conditions and initializations procedures can be ea