Owner: easy to manage java project configurations, ownerjava Project
Some time ago, a colleague said that a very interesting open-source project was "caught alive" on github, which is a lightweight jar package, this helps you discard the sample properties configuration code in a java project, allowing you to easily manage and use properties.
Yes, it is the main character of this article.Owner.
For more information about the owner's charm, see the following three aspects:
-
- Simple: you do not need to load unnecessary code, convert and manage the properties configuration file, and use your properties in the simplest way.
- Powerful: annotation-based, automatic type conversion, variable extension, loading policy, hot loading, Event Notification, etc.
- Flexible: select the features you need to block unnecessary features. Easy to use and rich documentation
The owner's Chinese document has been authorized by the owner's author Luigi R. Viggiano for my exclusive maintenance.
-
- Owner github: https://github.com/lviggiano/owner
- Owner Web site: http://owner.aeonbits.org/
- Owner Chinese documentation github: https://github.com/cyfonly/owner-doc
If you think the owner's Chinese document is helpful to you, please use a star in an elegant place.
Let's reveal the owner in detail.
Directory
- What is the owner?
- Install
- Basic usage
- Ing mechanism
- Use Config object
- Use @ DefaultValue and @ Key Annotation
- Undefined attribute
- Features
- Load Policy
- Reference Property
- Parameterized attributes
- Type conversion
- Variable Extension
- Loading and hot loading
- Accessibility and Variability
- Program debugging
- Disable Function
- Configuration Factory
- XML support
- Event support
- Singleton