Owner: easy to manage java project configurations, ownerjava Project

Source: Internet
Author: User

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
    • Maven
    • Java 8
  • 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

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.