[cdi-dev] [JBoss JIRA] Closed: (CDI-35) add support for 'optional' beans

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri May 13 11:47:50 EDT 2011


     [ https://issues.jboss.org/browse/CDI-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed CDI-35.
------------------------

         Assignee: Pete Muir
    Fix Version/s:     (was: TBD)
       Resolution: Duplicate Issue


> add support for 'optional' beans
> --------------------------------
>
>                 Key: CDI-35
>                 URL: https://issues.jboss.org/browse/CDI-35
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Packaging and Deployment
>    Affects Versions: 1.0
>            Reporter: Mark Struberg
>            Assignee: Pete Muir
>
> sometimes it's neat to mark a bean as @Optional depending if a specified class can get loaded or not.
> This is a simple way to implement deployment specific functionality. 
> An example would be a BvalSupportBean which only should become active if the JSR-303 bean validation API can be found on the classpath. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list