It is just a warning saying that the way the observer method is defined
is not efficient and prevents the container from performing optimizations.
On 02/26/2014 08:45 PM, Ove Ranheim wrote:
Hi,
I'm using DS, Weld and Tomcat and in the log I found these messages.
20:41:31.199 [Thread-1] INFO org.jboss.weld.Version - WELD-000900: 2.1.2
(Final)
20:41:31.608 [Thread-1] INFO org.jboss.weld.Bootstrap - WELD-000101:
Transactional services not available. Injection of @Inject UserTransaction not
available. Transactional observers will be invoked synchronously.
20:41:31.870 [Thread-1] WARN org.jboss.weld.Event - WELD-000411: Observer method
[BackedAnnotatedMethod] protected
org.apache.deltaspike.core.impl.message.MessageBundleExtension.detectInterfaces(@Observes
ProcessAnnotatedType<Object>) receives events for all annotated types.
Consider restricting events using @WithAnnotations or a generic type with bounds.
20:41:31.888 [Thread-1] WARN org.jboss.weld.Event - WELD-000411: Observer method
[BackedAnnotatedMethod] protected
org.apache.deltaspike.core.impl.message.MessageBundleExtension.detectInterfaces(@Observes
ProcessAnnotatedType<Object>) receives events for all annotated types.
Consider restricting events using @WithAnnotations or a generic type with bounds.
20:41:31.902 [Thread-1] WARN org.jboss.weld.Event - WELD-000411: Observer method
[BackedAnnotatedMethod] protected
org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension.vetoBeans(@Observes
ProcessAnnotatedType<Object>, BeanManager) receives events for all annotated
types. Consider restricting events using @WithAnnotations or a generic type with
bounds.
20:41:31.904 [Thread-1] WARN org.jboss.weld.Event - WELD-000411: Observer method
[BackedAnnotatedMethod] protected
org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension.vetoBeans(@Observes
ProcessAnnotatedType<Object>, BeanManager) receives events for all annotated
types. Consider restricting events using @WithAnnotations or a generic type with
bounds.
Is this normal and excepted behaviour?
Ove