You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Anatole Tresch (JIRA)" <ji...@apache.org> on 2019/03/14 22:52:00 UTC
[jira] [Created] (TAMAYA-384) Improve Spring integration
Anatole Tresch created TAMAYA-384:
-------------------------------------
Summary: Improve Spring integration
Key: TAMAYA-384
URL: https://issues.apache.org/jira/browse/TAMAYA-384
Project: Tamaya
Issue Type: Improvement
Components: Extensions
Affects Versions: 0.3-incubating
Reporter: Anatole Tresch
Assignee: Anatole Tresch
Fix For: 0.4-incubating
Improve Spring integration by supporting a typical Spring Enablement annotation:
{code:java}
@EnableTamayaConfig{code}
If added to a Spring @Configuration this enables and loads Tamaya as a Spring configuration backend (PropertySource). _By default_ Tamaya *overrides* *existing Spring configuration* and also enables Tamaya Configuration injection on Spring beans.
This can be customized by configuring Tamaya integration on the annotation, e.g. as follows:
{code:java}
@EnableTamayaConfig(disableTamayaInjection = true)
@EnableTamayaConfig(extendOnly = true){code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)