Some time ago, a colleague said "capture alive" on GitHub is a very interesting open source project, which is a super lightweight jar package that can help you eliminate the boilerplate properties configuration code in your Java project, allowing you to easily manage and use properties.
Yes, it is the protagonist of this article owner.
For the charm of owner, you can get a glimpse of whole picture from the following three aspects:
-
- Simple: No need to load extra code, convert and Manage properties profiles, use your properties in the simplest way
- Powerful: annotation-based, automatic type conversion, variable expansion, load policy, hot load, event notification, and more
- Flexible: Choose the features you need to block what you don't need; easy to use, with rich documentation
The owner's Chinese document has been authorized by the owner author Luigi R Viggiano for exclusive maintenance.
-
- Owner Github:https://github.com/lviggiano/owner
- Owner English document URL: http://owner.aeonbits.org/
- Owner Chinese Document Github:https://github.com/cyfonly/owner-doc
If you feel that the owner of the Chinese document is helpful to you, please place a star in an elegant location.
Gossip not much to say, below we will come to detail the secret owner it.
Directory
- What's owner?
- Installation
- Basic usage
- Mapping mechanism
- Using the Config object
- Using @DefaultValue and @Key annotations
- Attribute not defined
- Functional characteristics
- Load Policy
- Reference properties
- Parameterized properties
- Type conversions
- Variable extension
- Load and hot load
- Accessibility and variability
- Program debugging
- disabling features
- Configure the Factory
- XML support
- Event support
- Single case
Owner: Easily manage Java project configurations