Questions tagged [weld]

Weld is the reference implementation (RI) for JSR-299: Java Contexts and Dependency Injection for the Java EE platform (CDI)

Weld is the reference implementation (RI) for JSR-299: Java Contexts and Dependency Injection for the Java EE platform (CDI)

See http://seamframework.org/Weld

592 questions
0
votes
1 answer

Errors when deploying aplpication using WELD + Apache CODI

I added the myfaces-extcdi-core-api-1.0.5.jar and myfaces-extcdi-core-impl-1.0.5.jar to the classpath, marked few beans as ConversationScoped and now I get the following errors when starting the JBoss 7.1.0 server: (what could be the cause ???) …
azerIO
  • 519
  • 1
  • 9
  • 19
0
votes
2 answers

How to listen for conversation timeout in weld/seam

Currently working on an application which contains multiple tabbed conversations. When a conversation times out I want to close the tab associated with that conversation. Is there a way to listen for a conversation timeout or do I just have to keep…
Landister
  • 2,194
  • 7
  • 38
  • 56
-1
votes
3 answers

Why can't java.util.Random be injected ?

When injecting java.util.Random into a Bean, deployment fails: CDI deployment failure:WELD-001408: Unsatisfied dependencies for type Random with qualifiers @Default at injection point [BackedAnnotatedField] @Inject myPackage.MyBean.random…
user120513
  • 531
  • 4
  • 12
-1
votes
1 answer

WELD-001409 Ambiguous dependencies for type [SeamTransaction]

I have the following exception : 9:12:29,190 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-10) MSC000001: Failed to start service jboss.deployment.unit."SisneGym-ear.ear".WeldStartService: org.jboss.msc.service.StartException in service…
-1
votes
2 answers

CDI/WELD can a custom qualifier work in combination with the @Named annotation?

While having a custom qualifier for CDI support as followed: @Qualifier @Retention(RUNTIME) @Target({METHOD, FIELD, PARAMETER, TYPE}) public @interface QualifiedFooBean { } @QualifiedFooBean public class FooBean implements ImplFooBean { } public…
Ed Michel
  • 898
  • 1
  • 11
  • 23
-2
votes
1 answer

How to inject a bean into a servlet Filter in Undertow?

Is-it possible to inject a bean into a servlet Filter in Undertow?
-2
votes
1 answer

CDI Transactional Interceptor not working with CDI Producer

I have a similiar problem cited in this post: But, I need to use the producer method for create complex object (this object receive two params in constructor). Using the producer method to lose reference to the interceptor. I found nothing in the…
Luciano
  • 3
  • 5
1 2 3
39
40