org.jbpm.persistence.jta
Class JtaDbPersistenceServiceFactory
java.lang.Object
org.jbpm.persistence.db.DbPersistenceServiceFactory
org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory
- All Implemented Interfaces:
- Serializable, ServiceFactory
public class JtaDbPersistenceServiceFactory
- extends DbPersistenceServiceFactory
The JTA persistence service enables jBPM to participate in JTA transactions. If an existing
transaction is underway, JtaDbPersistenceService clings to it; otherwise it starts a
new transaction.
Configuration
The JTA persistence service factory has the configurable fields described below.
isCurrentSessionEnabled
isTransactionEnabled
Refer to the jBPM manual for details.
- Author:
- Tom Baeyens, Alejandro Guizar
- See Also:
- Serialized Form
| Methods inherited from class org.jbpm.persistence.db.DbPersistenceServiceFactory |
cleanSchema, close, createSchema, dropSchema, getConfiguration, getDataSource, getDataSourceJndiName, getJbpmSchema, getSchemaExport, getSessionFactory, getSessionFactoryJndiName, isCurrentSessionEnabled, isTransactionEnabled, setConfiguration, setCurrentSessionEnabled, setDataSource, setDataSourceJndiName, setSchemaExport, setSessionFactory, setSessionFactoryJndiName, setTransactionEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JtaDbPersistenceServiceFactory
public JtaDbPersistenceServiceFactory()
openService
public Service openService()
- Description copied from interface:
ServiceFactory
- open a service.
The service is to be closed on the Service object.
- Specified by:
openService in interface ServiceFactory- Overrides:
openService in class DbPersistenceServiceFactory
getUserTransaction
public UserTransaction getUserTransaction()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.