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] [Created] (DELTASPIKE-203) provide a Qualifier to mark DefaultConfiguration implementations
Date Fri, 15 Jun 2012 16:47:42 GMT
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

        

Mime
View raw message