-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluate interface based Configuration #12
Comments
What's the advantage compared to having a simple class that injects @ConfigProperty in its fields? |
There are a few.
But of course this feature is a nice add-on on top of the core mechanism. One can easily build it for oneself as well. |
+1 |
+1 |
What you have listed advantages do not exist as yet. I would say we the next issue we can get in or try to get in is the dynamic handling. |
+1 Apache Tamaya also supports this feature. |
+10000, only blocker for me to use mp-config |
+1 |
Is related to #58 |
…r method, and spec; relates to eclipse#12;
Updated my PR #85 based on yesterday's (2019-05-02) meeting. @struberg @Emily-Jiang please review. |
In Apache DeltaSpike you can define an interface which gets automatically provided as accessor for configured values
http://deltaspike.apache.org/documentation/configuration.html#_interface_based_configuration
It's basically the approach first seen in Owner.
You simply write an interface and the getters automatically get implemented to look up a configured value.
Are we interested in providing such a mechanism in JSR-382?
The text was updated successfully, but these errors were encountered: