myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Nicolucci (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (MYFACES-4173) Clean up WELD warnings : WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class
Date Sun, 12 Nov 2017 13:38:00 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-4173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Nicolucci resolved MYFACES-4173.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

> Clean up WELD warnings : WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-4173
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4173
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-372
>    Affects Versions: 2.3.0-beta
>            Reporter: Paul Nicolucci
>            Assignee: Paul Nicolucci
>            Priority: Trivial
>             Fix For: 2.3.0
>
>         Attachments: MYFACES-4173.patch
>
>
> When running myfaces with WELD 2.0 I see the following warnings:
> WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used
for class org.apache.myfaces.cdi.view.ViewScopeBeanHolder is deprecated from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.flow.cdi.FlowScopeBeanHolder is deprecated from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.push.cdi.PushContextFactoryBean is deprecated from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.flow.cdi.FlowBuilderFactoryBean is deprecated from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.cdi.config.FacesConfigBeanHolder is deprecated from CDI
1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.push.cdi.WebsocketChannelTokenBuilderBean is deprecated
from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.push.cdi.WebsocketSessionBean is deprecated from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.push.cdi.WebsocketViewBean is deprecated from CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.push.cdi.WebsocketApplicationBean is deprecated from CDI
1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.cdi.JsfApplicationArtifactHolder is deprecated from CDI
1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.cdi.model.FacesDataModelClassBeanHolder is deprecated from
CDI 1.1!
> [WARNING ] WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>)
used for class org.apache.myfaces.flow.cdi.FlowScopeBeanHolder is deprecated from CDI 1.1
> We should clean this up by using BeforeBeanDiscover.addAnnotatedType(AnnotatedType<?>,
String id): https://javaee.github.io/javaee-spec/javadocs/javax/enterprise/inject/spi/BeforeBeanDiscovery.html#addAnnotatedType-javax.enterprise.inject.spi.AnnotatedType-java.lang.String-



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message