deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (DELTASPIKE-203) provide a Qualifier to mark DefaultConfiguration implementations
Date Thu, 28 Jun 2012 08:42:44 GMT

     [ https://issues.apache.org/jira/browse/DELTASPIKE-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Struberg reopened DELTASPIKE-203:
--------------------------------------

    
> 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
>             Fix For: 0.3-incubating
>
>
> 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

        

Mime
View raw message