org.ow2.jasmine.jadort.service.implementation
Class JadortServiceJMSActions
java.lang.Object
org.ow2.jasmine.jadort.service.implementation.JadortServiceJMSActions
- All Implemented Interfaces:
- javax.jms.MessageListener
public class JadortServiceJMSActions
- extends java.lang.Object
- implements javax.jms.MessageListener
JadortServiceJMSActions class is the Message Driven Bean that allows
asynchronous execution of tasks in the maintenance / migration execution
step.
NOTE: This message-driven bean uses bean-managed transactions, since
it may use (very) long-running transactions.
- Author:
- Malek Chahine, Remy Bresson, S. Ali Tokmen
|
Field Summary |
protected javax.ejb.EJBContext |
context
|
protected javax.persistence.EntityManager |
em
|
|
Method Summary |
void |
onMessage(javax.jms.Message message)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
em
protected javax.persistence.EntityManager em
context
protected javax.ejb.EJBContext context
JadortServiceJMSActions
public JadortServiceJMSActions()
onMessage
public void onMessage(javax.jms.Message message)
- Specified by:
onMessage in interface javax.jms.MessageListener
Copyright © 2009 OW2 Consortium. All Rights Reserved.