Sergey Kiselev [
http://community.jboss.org/people/intr13] replied to the discussion
"Inject TransactionSynchronizationRegistry to stateless EJB"
To view the discussion, visit:
http://community.jboss.org/message/544876#544876
--------------------------------------------------------------
Thank you all,
The following code actually works:
@Resource(mappedName = "java:comp/TransactionSynchronizationRegistry")
TransactionSynchronizationRegistry transactionSynchronizationRegistry;
Oddly enough, before I had a problem with this, it may be connected with the use of
embedded-jboss. I will check tomorrow.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/544876#544876]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]