Skip to content

ggrandes/properties-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

properties-agent

Java agent to load properties from a file. Open Source Java project under Apache License v2.0

Current Stable Version is 1.0.0


DOC

Usage Example

# java -javaagent:properties-agent.jar=[!]url[,[!]url] ...
java -javaagent:properties-agent.jar=https://server/config/system-properties.properties,!file:///etc/system-properties.properties ...
Exclamation mark will force overwrite system property with value from file, by default only non-existent keys are loaded.

MAVEN

<dependency>
    <groupId>org.javastack</groupId>
    <artifactId>properties-agent</artifactId>
    <version>1.0.0</version>
</dependency>

Inspired in CatalinaProperties, this code is Java-minimalistic version.

About

Java agent to load properties from a file

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages