Alle Optionen
bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: aeonbits-owner  ]

Paket: libaeonbits-owner-java (1.0.12 ds-3)

Links für libaeonbits-owner-java

Screenshot

Debian-Ressourcen:

Quellcode-Paket aeonbits-owner herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

API to handle application configuration through Java properties file

OWNER was written because the code dealing with the configuration is frequently repetitive, redundant, it’s made of static classes, singletons, long list of methods just doing conversion from a string property to a named method returning a Java primitive or a basic Java object.

OWNER solves the problem providing an interface object that

 - is easy to mock, easy to pass to other objects (via dependency injection);
 - declaratively maps the configuration without any redundancy;
 - can easily expand the loading logic in order to have multiple configuration
 files, multiple level of overriding (global configuration, user-level,
 defaults, etc);
 - doesn’t need to have an actual properties file backing the configuration,
 if one uses @DefaultValue.
 - provides a lot of features, like hot reloading, variables expansion, etc;
 - leaves one free to do everything one is already doing with
 java.util.Properties;
 - does support a super powerful type conversion, which includes arrays,
 collections, many standard Java objects, and even the possibility to plug
 one's own conversion logic.

Andere Pakete mit Bezug zu libaeonbits-owner-java

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

libaeonbits-owner-java herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 91,8 kB147,0 kB [Liste der Dateien]