Mark Struberg created DELTASPIKE-203:
----------------------------------------

             Summary: 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

        

Reply via email to