Questions tagged [jboss-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). CDI is the Java standard for dependency injection and contextual lifecycle management, a Java Community Process (JCP) specification that integrates cleanly with the Java EE platform. Any Java EE 6-compliant application server provides support for JSR-299 (even the web profile).

http://seamframework.org/Weld

See also

393 questions
0
votes
0 answers

JSF2.0 h:commandlink action attribute not binding to a method

I have an application running JSF2.0 on the front end. In the backend instead of using managed beans I'm using weld's named beans. The bean in question is annotated @Named @Singleton @Startup and is an EJB Singleton. The bean gets the top level…
stirling
  • 143
  • 2
  • 3
  • 8
0
votes
1 answer

ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2){"JBAS014653: Composite operation failed and was rolled back.

Hi Every one i have some problem with jboss-as-7.1.1.When i deploy axis2.war in jboss-5.1, jboss-6.1 it's work fine but when i deploy in jboss-as-7.1.1 i am getting error My error log is given below:- 12:03:27,851 INFO …
vivek rai
  • 2,109
  • 10
  • 25
  • 21
0
votes
2 answers

Spring's SessionFixationProtectionStrategy kills CDI Conversation under JBoss / Weld

I have an object that's marked as @ConversationScoped and is used between many steps of a wizard. This works perfectly except that when my user's are login in, the SessionFixationProtectionStrategy of Spring calls the session.invalidate() method to…
user1054394
0
votes
1 answer

Using MyFaces CODI with JBoss 7

I was using JBoss 7 with JSF 2.0 (Mojarra) and Weld as CDI. Everything that JBoss already provides. Also, I added Primefaces to the package. So by now, my project is: JBoss 7 + JSF 2.0 + Primefaces + Weld However, I was feeling that JSF ViewScope…
Montolide
  • 773
  • 3
  • 12
  • 27
0
votes
2 answers

"Unsatisfied dependency" warning when injecting Conversation into backing bean

@ConversationScoped public class BackingBean { @Inject Conversation conversation; public BackingBean() {} ... } Why is Intellij giving me a warning: "Unsatisfied dependency: no bean matches the injection point." The CTRL+F1…
Patrick Garner
  • 3,201
  • 6
  • 39
  • 58
0
votes
1 answer

Replacing factory class with CDI

I have a collection of Processor beans in my application along with a factory for creating them. public abstract class Processor { public Processor(String config) { .... } public abstract void process() throws Exception; } public class…
Raylite3
  • 837
  • 2
  • 11
  • 22
0
votes
1 answer

Using Transaction with CDI Conversation

I'm building an application which uses CDI (Weld Container) and @ConversationScope for the views. I'd need to start a JTA Transaction at the beginning of the Conversation and commit/rollback at the end. So I have coded this: @Named…
Max Korn
  • 275
  • 7
  • 18
0
votes
1 answer

SFSB call after remove

I am working on an application with several SFSB all implementing the same interface. To decide at runtime, whiche concrete implementation to use, I have following Factory Method: @SuppressWarnings("rawtypes") @Inject @Any Instance
Christian
  • 3,503
  • 1
  • 26
  • 47
0
votes
2 answers

CODI + WELD: Specializing bean must extend another bean

I have a EE application, that uses JSF 2.0 (impl Mojarra 2.1.6). The server I use is glassfish 3.1.2, and CDI implementation is WELD. Sometimes when I run the application I get the following exception: org.jboss.weld.exceptions.DefinitionException:…
damian
  • 4,024
  • 5
  • 35
  • 53
0
votes
3 answers

How to keep state during ajax call using CDI

I'm using CDI (Weld) and I've faced a problem, hope you can help. I have a series of Primefaces selectOneMenu, where the value selected in one is used to populate the next. Problem is, I need to use SessionScoped on my ManagedBean to get the values…
Montolide
  • 773
  • 3
  • 12
  • 27
0
votes
1 answer

Listening for a conversation timeout with Weld

I know it is possible with seam as there is an event that gets fired when a conversation times out. Is there a work around for Weld so that I can listen for a conversation timing out?
zacattac50
  • 53
  • 7
0
votes
2 answers

Can I @Inject a generic type?

This does not seem to work: @Inject private MyBBean myBean; Should it work or is it just wrong to try to do this? I get this error: Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type…
Pierre
  • 123
  • 1
  • 2
  • 9
0
votes
2 answers

CDI error in weblogic 12.1.1

I have a CDI bean annotated with @Named and @RequestScoped. It is working perfectly in Glassfish 3.1.2 but when I deploy it in Weblogic 12.1.1 I get the following error! Caused By: org.jboss.weld.exceptions.DefinitionException: WELD-000075 Normal…
Mehdi
  • 4,396
  • 4
  • 29
  • 30
0
votes
1 answer

Strange behavior with inside inside

I have an table of data presented by an ui:repeat. Because I want the user to be able to change the data on a per row basis, each row is enclosed in an h:form. Finally each h:form has a button with the f:ajax tag. I am getting wildly inconsistent…
Panayiotis Karabassis
  • 2,278
  • 3
  • 25
  • 40
0
votes
1 answer

CDI works in JAX-RS MessageBodyWriter but not in MessageBodyReader

I am using CDI to inject things into my JAX-RS MessageBodyWriters and MessageBodyReaders. This works well for the MessageBodyWriters but not for the MessageBodyReaders. Also, Interceptors work on the writers, but not on the readers. Can anyone…
Jan Algermissen
  • 4,930
  • 4
  • 26
  • 39
1 2 3
26
27