org.ow2.jasmine.jadort.service.implementation
Class OperationPersistenceManager
java.lang.Object
org.ow2.jasmine.jadort.service.implementation.OperationPersistenceManager
- Direct Known Subclasses:
- ActionManager
public class OperationPersistenceManager
- extends java.lang.Object
Contains methods related to the management of the JaDOrT operation's state
bean.
- Author:
- Arda Aydin, Malek Chahine, S. Ali Tokmen
|
Field Summary |
javax.persistence.EntityManager |
em
|
protected org.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean |
operation
|
|
Method Summary |
protected void |
mergeOperation()
This method merges operation onto the
DB. |
protected void |
refreshOperation()
This method refreshes operation and
should be called when entering any method that uses datum that can be
modified in another thread than the stateful bean's. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
operation
protected org.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean operation
em
public javax.persistence.EntityManager em
OperationPersistenceManager
public OperationPersistenceManager()
refreshOperation
protected void refreshOperation()
- This method refreshes
operation and
should be called when entering any method that uses datum that can be
modified in another thread than the stateful bean's. This is the case
when taking any serverProgress action: the OperationStateBean
gets updated by the JMSReceiver handler in an
asynchronous way.
mergeOperation
protected void mergeOperation()
- This method merges
operation onto the
DB.
Copyright © 2009 OW2 Consortium. All Rights Reserved.