[cdi-dev] [JBoss JIRA] Commented: (CDI-35) add support for 'optional' beans
Mark Struberg (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:comment-tabpanel&focusedCommentId=12601992#comment-12601992 ]
Mark Struberg commented on CDI-35:
----------------------------------
The documentation for Seam3 @Required can be found here:
http://docs.jboss.org/seam/3/solder/latest/api/org/jboss/seam/solder/core/Requires.html
> 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