You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Antonin Stefanutti (JIRA)" <ji...@apache.org> on 2014/09/04 17:24:51 UTC

[jira] [Commented] (OWB-997) implement @WithAnnotations

    [ https://issues.apache.org/jira/browse/OWB-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121452#comment-14121452 ] 

Antonin Stefanutti commented on OWB-997:
----------------------------------------

@[~struberg], the current implementation, version {{2.0.0-20140904.083349-28}} does not work with parameterized {{ProcessAnnotatedType}} and throws:
{code}
javax.enterprise.inject.spi.DefinitionException: WithAnnotations must only be used for ProcessAnnotatedType
        at org.apache.webbeans.event.ContainerEventObserverMethodImpl.<init>(ContainerEventObserverMethodImpl.java:48)
        at org.apache.webbeans.event.NotificationManager.getObservableMethodForAnnotatedMethod(NotificationManager.java:630)
        at org.apache.webbeans.component.creation.ObserverMethodsBuilder.defineObserverMethods(ObserverMethodsBuilder.java:94)
        at org.apache.webbeans.util.WebBeansUtil.createExtensionComponent(WebBeansUtil.java:487)
        at org.apache.webbeans.portable.events.ExtensionLoader.addExtension(ExtensionLoader.java:121)
        at org.apache.webbeans.portable.events.ExtensionLoader.loadExtensionServices(ExtensionLoader.java:87)
        at org.apache.webbeans.portable.events.ExtensionLoader.loadExtensionServices(ExtensionLoader.java:70)
        at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:192)
        at org.apache.webbeans.lifecycle.AbstractLifeCycle.bootstrapApplication(AbstractLifeCycle.java:138)
        at org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:104)
        at org.apache.webbeans.arquillian.standalone.OwbStandaloneContainer.deploy(OwbStandaloneContainer.java:122)
{code}

> implement @WithAnnotations
> --------------------------
>
>                 Key: OWB-997
>                 URL: https://issues.apache.org/jira/browse/OWB-997
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 2.0.0
>
>
> implement @WithAnnotations feature.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)