https://github.com/carlspring/properties-injector
A simple project that provides injection of properties via annotations
https://github.com/carlspring/properties-injector
Last synced: 12 months ago
JSON representation
A simple project that provides injection of properties via annotations
- Host: GitHub
- URL: https://github.com/carlspring/properties-injector
- Owner: carlspring
- License: apache-2.0
- Created: 2012-02-14T10:20:24.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T03:24:04.000Z (over 8 years ago)
- Last Synced: 2025-04-14T12:34:58.838Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 125 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# properties-injector
[](https://dev.carlspring.org/jenkins/blue/organizations/jenkins/opensource%2Fproperties-injector/activity?branch=master)
[](https://maven-badges.herokuapp.com/maven-central/org.carlspring/properties-injector)
If you are sick and tired of having to write properties loading code for each
new project where properties files are used and if you'd prefer to have simple
annotations for this, then this project is what you are looking for.
This is a very lightweight alternative of Spring's cool org.springframework.beans.factory.annotation.Value.
While Spring's idea is great, sometimes you just have the limitation of not being
allowed to use it in your project.
Check the [USAGE](https://github.com/carlspring/properties-injector/blob/master/USAGE) file for examples of how to use the code.