[
https://issues.apache.org/jira/browse/OWB-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126428#comment-13126428
]
Mark Struberg commented on OWB-475:
-----------------------------------
moved to target 1.2.0 again, because this can only get implemented when we get
the new @Requires annotation from CDI-1.1:
> Any class or package may be prevented from providing bean definitions based
> on the availability
> of other classes by adding the @Requires annotation on the class or package.
In any other case we must throw a DefinitionException.
> support for optional beans
> --------------------------
>
> Key: OWB-475
> URL: https://issues.apache.org/jira/browse/OWB-475
> Project: OpenWebBeans
> Issue Type: Improvement
> Components: Core, Injection and Lookup
> Affects Versions: 1.0.0
> Reporter: Gerhard Petracek
> Assignee: Mark Struberg
> Fix For: 1.2.0
>
>
> extensions might contain optional beans which aren't used if a dependency
> isn't used by an application.
> ->
> AbstractMetaDataDiscovery#getBeanClasses should catch and log
> NoClassDefFoundError
> AnnotatedElementFactory#newAnnotatedType should catch and log
> TypeNotPresentException
--
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