You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2012/06/28 11:11:42 UTC
[jira] [Updated] (DELTASPIKE-203) provide a Qualifier to mark
DefaultConfiguration implementations
[ https://issues.apache.org/jira/browse/DELTASPIKE-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg updated DELTASPIKE-203:
-------------------------------------
Fix Version/s: (was: 0.3-incubating)
> provide a Qualifier to mark DefaultConfiguration implementations
> ----------------------------------------------------------------
>
> Key: DELTASPIKE-203
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-203
> Project: DeltaSpike
> Issue Type: New Feature
> Components: Core
> Affects Versions: 0.3-incubating
> Reporter: Mark Struberg
> Assignee: Mark Struberg
>
> We have the problem that users can provide multiple own variations of e.g. LocaleResolver or MessageInterpolator.
> Thus we cannot simply use @Inject @Default LocaleResolver to pickup the systems default implementation via CDI.
> By introducing a @Qualifier we are able to use CDI to pickup those default implementations without interfering with user classes.
> The second benefit is that users can now implement own @Alternative @DefaultConfiguration Beans for those configs to override application wide defaults.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira