[weld-issues] [JBoss JIRA] Updated: (CDI-35) add support for 'optional' beans

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Jan 26 09:02:49 EST 2011


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

Pete Muir updated CDI-35:
-------------------------

    Component/s: Packaging and Deployment


> 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
>
> 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 weld-issues mailing list