当前页面:
在线文档首页 >
JBoss JBPM 3.1.3 API 英文版文档
DbPersistenceService (jbpm-3.1.3) - JBoss JBPM 3.1.3 API 英文版文档
org.jbpm.persistence.db
Class DbPersistenceService
java.lang.Object
org.jbpm.persistence.db.DbPersistenceService
- All Implemented Interfaces:
- java.io.Serializable, PersistenceService, Service
public class DbPersistenceService
- extends java.lang.Object
- implements Service, PersistenceService
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbPersistenceService
public DbPersistenceService(DbPersistenceServiceFactory persistenceServiceFactory)
getSessionFactory
public org.hibernate.SessionFactory getSessionFactory()
getSession
public org.hibernate.Session getSession()
getConnection
public java.sql.Connection getConnection()
close
public void close()
- Specified by:
close
in interface Service
assignId
public void assignId(java.lang.Object object)
- Specified by:
assignId
in interface PersistenceService
getGraphSession
public GraphSession getGraphSession()
- Specified by:
getGraphSession
in interface PersistenceService
getLoggingSession
public LoggingSession getLoggingSession()
- Specified by:
getLoggingSession
in interface PersistenceService
getMessagingSession
public MessagingSession getMessagingSession()
- Specified by:
getMessagingSession
in interface PersistenceService
getSchedulerSession
public SchedulerSession getSchedulerSession()
- Specified by:
getSchedulerSession
in interface PersistenceService
getContextSession
public ContextSession getContextSession()
- Specified by:
getContextSession
in interface PersistenceService
getTaskMgmtSession
public TaskMgmtSession getTaskMgmtSession()
- Specified by:
getTaskMgmtSession
in interface PersistenceService
getDataSource
public javax.sql.DataSource getDataSource()
isRollbackOnly
public boolean isRollbackOnly()
- Specified by:
isRollbackOnly
in interface PersistenceService
setRollbackOnly
public void setRollbackOnly(boolean isRollbackOnly)
- Specified by:
setRollbackOnly
in interface PersistenceService
setRollbackOnly
public void setRollbackOnly()
- Specified by:
setRollbackOnly
in interface PersistenceService
setSession
public void setSession(org.hibernate.Session session)
setConnection
public void setConnection(java.sql.Connection connection)
setContextSession
public void setContextSession(ContextSession contextSession)
setDataSource
public void setDataSource(javax.sql.DataSource dataSource)
setGraphSession
public void setGraphSession(GraphSession graphSession)
- Specified by:
setGraphSession
in interface PersistenceService
setLoggingSession
public void setLoggingSession(LoggingSession loggingSession)
- Specified by:
setLoggingSession
in interface PersistenceService
setMessagingSession
public void setMessagingSession(MessagingSession messagingSession)
- Specified by:
setMessagingSession
in interface PersistenceService
setSchedulerSession
public void setSchedulerSession(SchedulerSession schedulerSession)
- Specified by:
setSchedulerSession
in interface PersistenceService
setTaskMgmtSession
public void setTaskMgmtSession(TaskMgmtSession taskMgmtSession)
- Specified by:
setTaskMgmtSession
in interface PersistenceService
setSessionFactory
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
- Specified by:
setSessionFactory
in interface PersistenceService
getTransaction
public org.hibernate.Transaction getTransaction()
setTransaction
public void setTransaction(org.hibernate.Transaction transaction)
isTransactionEnabled
public boolean isTransactionEnabled()
setTransactionEnabled
public void setTransactionEnabled(boolean isTransactionEnabled)
Version : jbpm-3.1.3