Asynchronous events questionThe CDI 2.0 specification seems a little light in the area of asynchronous events. Specifically, if I call fireAsync(): I assume the notification task used behind the scenes is guaranteed to be submitted to t...
Conversation timeout notificationWe are using Weld 3 on Wildfly 10 and I was wondering if there is a way to get notified that a conversation has timed out and will be destroyed. Is there something that can be observed or an event that can be li...
Context lost when using StreamingOutputHello, I would like to stream a Response using StreamingOutput but the context seems to be lost when doing so. In a @Stateless class with a logic @ApplicationScoped injected. So, in my case, this would ...
Help Bootstrapping StrutsTestCase in JunitI have struts2 running with it's CDI-plugin and Weld is the CDI container of choice on my glassfish server. For unit testing struts Actions, Struts has a StrutsTestCase http://struts.apache.org/maven/st...
Thread Must a qualifier be meta-annotated with javax.inject.Qualifier?
Must a qualifier be meta-annotated with javax.inject.Qualifier?The specification says: A qualifier type is a Java annotation defined as @Retention(RUNTIME). Typically a qualifier type is defined as @Target({METHOD, FIELD, PARAMETER, TYPE}). A qualifier type may be declared by spe...
Thread Is it legal for an Extension to keep a reference to BeanManager?
Is it legal for an Extension to keep a reference to BeanManager?In CDI 2.0, if I "leak" a BeanManager reference from a container lifecycle event observer method into an instance or static field in my Extension, can I safely and portably make use of that BeanManager reference from ...
Thread CDI throws exceptions during deployment on Tomcat 8
CDI throws exceptions during deployment on Tomcat 8I have to create a new JSF/PrimeFaces application to run on Tomcat 8. I want to include CDI. I have added the following jars:versions to the project: javax.enterprise:cdi-api:2.0 org.jboss.weld:weld-api:3.0.S...
Thread ClassDefNotFoundException at start of Weld-SE Application
ClassDefNotFoundException at start of Weld-SE ApplicationHi guys, Actually i want to create a small "Hello World"-like Example of a JavaSE-Application with Weld-SE, but it seems that there is a runtime error. Here is my class: package de.mycompany.weldapp; im...
[Wildfly 10] org.jboss.classfilewriter.DuplicateMemberExceptionHi, We have some troubles with org.jboss.classfilewriter.DuplicateMemberException during some performance tests sessions. We are on Wildfly 10.1.0 ( with Weld core 2.3.5.Final ) The performance tests ...
Class annotations and weld proxiesHi, I'm finding that calling getAnnotations() on the class of a weld proxy, e.g., org.jboss.resteasy.test.providers.priority.resource.ProviderPriorityFooParamConverterProviderAAA$Proxy$_$$_WeldClientProxy, doe...
Thread What is the alternative to the WeldContainer.instance-method?
What is the alternative to the WeldContainer.instance-method?Within a Java SE application I am trying the following: Weld weld = new Weld();
WeldContainer container = weld.initialize();
Test t = container.instance().select(Test.class).get();
However the method in...
Weld 3 PostConstruct question.2017-05-19 21:28:08,598 [main] WARN org.jboss.weld.Validator - WELD-001469: Method init defined on class co.kaiba.blueeyes.impl.executor.infinispan.ExecutorImpl is not defined according to the specification. It is ann...