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

Mark Struberg commented on DELTASPIKE-1376:
-------------------------------------------

We deliberately don't use {{@WithAnnotations}} for multiple reasons. First we 
use the same event to do multiple operations. And we most times do not use the 
type or annotations involved upfront. Second we want to remain EE6 backward 
compatible as it is still used quite sometime.

[~antoinesd] do you probably have an idea how to suppress this warning?

> Warning on CDI 2.0
> ------------------
>
>                 Key: DELTASPIKE-1376
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1376
>             Project: DeltaSpike
>          Issue Type: Wish
>          Components: Data-Module
>    Affects Versions: 1.9.0
>            Reporter: Jordi Cabré
>            Priority: Trivial
>             Fix For: 2.0
>
>
> I'm getting these messages when I'm starting my service:
> Repository code is on g...@bitbucket.org:jeusdi/espaidoc.git
> It's configured using gradle and using [kumuluzee|[https://ee.kumuluz.com/]].
>  
> {{2019-04-10 09:19:25.628 INFO -- 
> org.jboss.weld.event.ExtensionObserverMethodImpl -- WELD-000411: Observer 
> method [BackedAnnotatedMethod] protected 
> org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension.vetoBeans(@Observes
>  ProcessAnnotatedType, BeanManager) receives events for all annotated types. 
> Consider restricting events using @WithAnnotations or a generic type with 
> bounds.}}
> {{2019-04-10 09:19:25.684 INFO -- 
> org.jboss.weld.event.ExtensionObserverMethodImpl -- WELD-000411: Observer 
> method [BackedAnnotatedMethod] 
> org.apache.deltaspike.data.impl.RepositoryExtension.processAnnotatedType(@Observes
>  ProcessAnnotatedType<X>) receives events for all annotated types. Consider 
> restricting events using @WithAnnotations or a generic type with bounds.}}
> {{2019-04-10 09:19:25.693 INFO -- 
> org.jboss.weld.event.ExtensionObserverMethodImpl -- WELD-000411: Observer 
> method [BackedAnnotatedMethod] public 
> org.apache.deltaspike.core.impl.interceptor.interdyn.InterDynExtension.processAnnotatedType(@Observes
>  ProcessAnnotatedType) receives events for all annotated types. Consider 
> restricting events using @WithAnnotations or a generic type with bounds.}}
> {{2019-04-10 09:19:25.717 INFO -- 
> org.jboss.weld.event.ExtensionObserverMethodImpl -- WELD-000411: Observer 
> method [BackedAnnotatedMethod] public 
> org.apache.deltaspike.partialbean.impl.PartialBeanBindingExtension.findInvocationHandlerBindings(@Observes
>  ProcessAnnotatedType<X>, BeanManager) receives events for all annotated 
> types. Consider restricting events using @WithAnnotations or a generic type 
> with bounds.}}
> {{2019-04-10 09:19:25.810 INFO -- 
> org.jboss.weld.event.ExtensionObserverMethodImpl -- WELD-000411: Observer 
> method [BackedAnnotatedMethod] public 
> org.apache.deltaspike.core.impl.config.ConfigurationExtension.findDynamicConfigurationBeans(@Observes
>  ProcessAnnotatedType<?>) receives events for all annotated types. Consider 
> restricting events using @WithAnnotations or a generic type with bounds.}}
> {{2019-04-10 09:19:25.932 INFO -- 
> org.jboss.weld.event.ExtensionObserverMethodImpl -- WELD-000411: Observer 
> method [BackedAnnotatedMethod] private 
> org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider.processAnnotatedType(@Observes
>  ProcessAnnotatedType) receives events for all annotated types. Consider 
> restricting events using @WithAnnotations or a generic type with bounds.}}
> {{2019-04-10 09:19:25.936 INFO -- 
> org.jboss.weld.event.ExtensionObserverMethodImpl -- WELD-000411: Observer 
> method [BackedAnnotatedMethod] protected 
> org.apache.deltaspike.core.impl.interceptor.GlobalInterceptorExtension.promoteInterceptors(@Observes
>  ProcessAnnotatedType) receives events for all annotated types. Consider 
> restricting events using @WithAnnotations or a generic type with bounds.}}
> {{2019-04-10 09:19:26.153 WARN -- 
> org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl -- WELD-000146: 
> BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class 
> org.glassfish.jersey.ext.cdi1x.internal.CdiComponentProvider$JaxRsParamProducer
>  is deprecated from CDI 1.1!}}
> {{2019-04-10 09:19:27.507 WARN -- org.jboss.weld.logging.ValidatorLogger -- 
> WELD-001478: Interceptor class 
> org.apache.deltaspike.jpa.impl.transaction.TransactionalInterceptor is 
> enabled for the application and for the bean archive 
> _/home/jeusdi/projects/espaidoc/frontoffice/build/libs/tmp/EeClassLoader/lib_deltaspike-jpa-module-impl-1.9.0.jar.
>  It will only be invoked in the @Priority part of the chain.}}
> {{2019-04-10 09:19:27.511 WARN -- org.jboss.weld.logging.ValidatorLogger -- 
> WELD-001478: Interceptor class 
> org.apache.deltaspike.core.impl.throttling.ThrottledInterceptor is enabled 
> for the application and for the bean archive 
> _/home/jeusdi/projects/espaidoc/frontoffice/build/libs/tmp/EeClassLoader/lib_deltaspike-core-impl-1.9.0.jar.
>  It will only be invoked in the @Priority part of the chain.}}
> {{2019-04-10 09:19:27.513 WARN -- org.jboss.weld.logging.ValidatorLogger -- 
> WELD-001478: Interceptor class 
> org.apache.deltaspike.core.impl.lock.LockedInterceptor is enabled for the 
> application and for the bean archive 
> _/home/jeusdi/projects/espaidoc/frontoffice/build/libs/tmp/EeClassLoader/lib_deltaspike-core-impl-1.9.0.jar.
>  It will only be invoked in the @Priority part of the chain.}}
> {{2019-04-10 09:19:27.515 WARN -- org.jboss.weld.logging.ValidatorLogger -- 
> WELD-001478: Interceptor class 
> org.apache.deltaspike.core.impl.future.FutureableInterceptor is enabled for 
> the application and for the bean archive 
> _/home/jeusdi/projects/espaidoc/frontoffice/build/libs/tmp/EeClassLoader/lib_deltaspike-core-impl-1.9.0.jar.
>  It will only be invoked in the @Priority part of the chain.}}
> {{2019-04-10 09:19:27.517 WARN -- org.jboss.weld.logging.ValidatorLogger -- 
> WELD-001478: Interceptor class 
> org.apache.deltaspike.core.impl.monitoring.InvocationMonitorInterceptor is 
> enabled for the application and for the bean archive 
> _/home/jeusdi/projects/espaidoc/frontoffice/build/libs/tmp/EeClassLoader/lib_deltaspike-core-impl-1.9.0.jar.
>  It will only be invoked in the @Priority part of the chain.}}
> {{2019-04-10 09:19:27.526 WARN -- org.jboss.weld.logging.ValidatorLogger -- 
> WELD-001478: Interceptor class 
> com.kumuluz.ee.fault.tolerance.interceptors.TimeoutInterceptor is enabled for 
> the application and for the bean archive 
> _/home/jeusdi/projects/espaidoc/frontoffice/build/libs/tmp/EeClassLoader/lib_kumuluzee-fault-tolerance-common-1.1.3.jar.
>  It will only be invoked in the @Priority part of the chain.}}
> {{2019-04-10 09:19:27.531 WARN -- org.jboss.weld.logging.ValidatorLogger -- 
> WELD-001478: Interceptor class 
> com.kumuluz.ee.fault.tolerance.interceptors.CircuitBreakerInterceptor is 
> enabled for the application and for the bean archive 
> _/home/jeusdi/projects/espaidoc/frontoffice/build/libs/tmp/EeClassLoader/lib_kumuluzee-fault-tolerance-common-1.1.3.jar.
>  It will only be invoked in the @Priority part of the chain.}}
> {{2019-04-10 09:19:27.536 WARN -- org.jboss.weld.logging.ValidatorLogger -- 
> WELD-001478: Interceptor class 
> com.kumuluz.ee.fault.tolerance.interceptors.BulkheadInterceptor is enabled 
> for the application and for the bean archive 
> _/home/jeusdi/projects/espaidoc/frontoffice/build/libs/tmp/EeClassLoader/lib_kumuluzee-fault-tolerance-common-1.1.3.jar.
>  It will only be invoked in the @Priority part of the chain.}}
> {{2019-04-10 09:19:27.537 WARN -- org.jboss.weld.logging.ValidatorLogger -- 
> WELD-001478: Interceptor class 
> com.kumuluz.ee.fault.tolerance.interceptors.RetryInterceptor is enabled for 
> the application and for the bean archive 
> _/home/jeusdi/projects/espaidoc/frontoffice/build/libs/tmp/EeClassLoader/lib_kumuluzee-fault-tolerance-common-1.1.3.jar.
>  It will only be invoked in the @Priority part of the chain.}}
> {{2019-04-10 09:19:27.538 WARN -- org.jboss.weld.logging.ValidatorLogger -- 
> WELD-001478: Interceptor class 
> com.kumuluz.ee.fault.tolerance.interceptors.FallbackInterceptor is enabled 
> for the application and for the bean archive 
> _/home/jeusdi/projects/espaidoc/frontoffice/build/libs/tmp/EeClassLoader/lib_kumuluzee-fault-tolerance-common-1.1.3.jar.
>  It will only be invoked in the @Priority part of the chain.}}
> {{2019-04-10 09:19:27.542 WARN -- org.jboss.weld.logging.ValidatorLogger -- 
> WELD-001478: Interceptor class 
> org.apache.deltaspike.proxy.util.EnableInterceptorsInterceptor is enabled for 
> the application and for the bean archive 
> _/home/jeusdi/projects/espaidoc/frontoffice/build/libs/tmp/EeClassLoader/lib_deltaspike-proxy-module-api-1.9.0.jar.
>  It will only be invoked in the @Priority part of the chain.}}
> {{2019-04-10 09:19:28.606 WARNING -- org.glassfish.jersey.internal.Errors -- 
> The following warnings have been detected: WARNING: Parameter 1 of type 
> java.lang.Class<? extends 
> org.apache.deltaspike.data.api.mapping.QueryInOutMapper<?>> from public void 
> org.apache.deltaspike.data.impl.meta.RepositoryMethodMetadata.setQueryInOutMapperClass(java.lang.Class<?
>  extends org.apache.deltaspike.data.api.mapping.QueryInOutMapper<?>>) is not 
> resolvable to a concrete type.}}{{2019-04-10 09:19:28.751 WARNING -- 
> org.glassfish.jersey.internal.Errors -- The following warnings have been 
> detected: WARNING: Parameter 1 of type 
> org.apache.deltaspike.core.api.provider.DependentProvider<? extends 
> javax.persistence.EntityManager> from public void 
> org.apache.deltaspike.jpa.impl.entitymanager.EntityManagerRef.setEntityManagerDependentProvider(org.apache.deltaspike.core.api.provider.DependentProvider<?
>  extends javax.persistence.EntityManager>) is not resolvable to a concrete 
> type.}}
> {{WARNING: Parameter 1 of type java.lang.Class<? extends 
> org.apache.deltaspike.jpa.api.entitymanager.EntityManagerResolver> from 
> public void 
> org.apache.deltaspike.jpa.impl.entitymanager.EntityManagerRef.setEntityManagerResolverClass(java.lang.Class<?
>  extends org.apache.deltaspike.jpa.api.entitymanager.EntityManagerResolver>) 
> is not resolvable to a concrete type.}}
> {{WARNING: Parameter 1 of type 
> org.apache.deltaspike.core.api.provider.DependentProvider<? extends 
> org.apache.deltaspike.jpa.api.entitymanager.EntityManagerResolver> from 
> public void 
> org.apache.deltaspike.jpa.impl.entitymanager.EntityManagerRef.setEntityManagerResolverDependentProvider(org.apache.deltaspike.core.api.provider.DependentProvider<?
>  extends org.apache.deltaspike.jpa.api.entitymanager.EntityManagerResolver>) 
> is not resolvable to a concrete type.}}{{2019-04-10 09:19:28.757 WARNING -- 
> org.glassfish.jersey.internal.Errors -- The following warnings have been 
> detected: WARNING: Parameter 1 of type java.lang.Class<? extends 
> java.lang.annotation.Annotation>[] from public void 
> org.apache.deltaspike.jpa.impl.entitymanager.EntityManagerMetadata.setQualifiers(java.lang.Class<?
>  extends java.lang.annotation.Annotation>[]) is not resolvable to a concrete 
> type.}}
> {{WARNING: Parameter 1 of type java.lang.Class<? extends 
> org.apache.deltaspike.jpa.api.entitymanager.EntityManagerResolver> from 
> public void 
> org.apache.deltaspike.jpa.impl.entitymanager.EntityManagerMetadata.setEntityManagerResolverClass(java.lang.Class<?
>  extends org.apache.deltaspike.jpa.api.entitymanager.EntityManagerResolver>) 
> is not resolvable to a concrete type.}}{{2019-04-10 09:19:29.011 WARNING -- 
> org.glassfish.jersey.internal.Errors -- The following warnings have been 
> detected: WARNING: Parameter 1 of type T from public void 
> org.apache.deltaspike.core.util.context.ContextualInstanceInfo.setContextualInstance(T)
>  is not resolvable to a concrete type.}}
> {{WARNING: Parameter 1 of type 
> javax.enterprise.context.spi.CreationalContext<T> from public void 
> org.apache.deltaspike.core.util.context.ContextualInstanceInfo.setCreationalContext(javax.enterprise.context.spi.CreationalContext<T>)
>  is not resolvable to a concrete type.}}{{2019-04-10 09:19:29.059 WARNING -- 
> org.glassfish.jersey.internal.Errors -- The following warnings have been 
> detected: WARNING: Parameter 1 of type java.lang.Class<?> from public void 
> org.apache.deltaspike.jpa.spi.descriptor.xml.AbstractEntityDescriptor.setEntityClass(java.lang.Class<?>)
>  is not resolvable to a concrete type.}}
> {{WARNING: Parameter 1 of type java.lang.Class<? extends 
> java.io.Serializable> from public void 
> org.apache.deltaspike.jpa.spi.descriptor.xml.AbstractEntityDescriptor.setIdClass(java.lang.Class<?
>  extends java.io.Serializable>) is not resolvable to a concrete 
> type.}}{{2019-04-10 09:19:29.068 WARNING -- 
> org.glassfish.jersey.internal.Errors -- The following warnings have been 
> detected: WARNING: Parameter 1 of type java.lang.Class<?> from public void 
> org.apache.deltaspike.jpa.spi.descriptor.xml.AbstractEntityDescriptor.setEntityClass(java.lang.Class<?>)
>  is not resolvable to a concrete type.}}
> {{WARNING: Parameter 1 of type java.lang.Class<? extends 
> java.io.Serializable> from public void 
> org.apache.deltaspike.jpa.spi.descriptor.xml.AbstractEntityDescriptor.setIdClass(java.lang.Class<?
>  extends java.io.Serializable>) is not resolvable to a concrete type.}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to