站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by 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

Constructor Summary
DbPersistenceService(DbPersistenceServiceFactory persistenceServiceFactory)
           
 
Method Summary
 void assignId(java.lang.Object object)
           
 void close()
           
 java.sql.Connection getConnection()
           
 ContextSession getContextSession()
           
 javax.sql.DataSource getDataSource()
           
 GraphSession getGraphSession()
           
 LoggingSession getLoggingSession()
           
 MessagingSession getMessagingSession()
           
 SchedulerSession getSchedulerSession()
           
 org.hibernate.Session getSession()
           
 org.hibernate.SessionFactory getSessionFactory()
           
 TaskMgmtSession getTaskMgmtSession()
           
 org.hibernate.Transaction getTransaction()
           
 boolean isRollbackOnly()
           
 boolean isTransactionEnabled()
           
 void setConnection(java.sql.Connection connection)
           
 void setContextSession(ContextSession contextSession)
           
 void setDataSource(javax.sql.DataSource dataSource)
           
 void setGraphSession(GraphSession graphSession)
           
 void setLoggingSession(LoggingSession loggingSession)
           
 void setMessagingSession(MessagingSession messagingSession)
           
 void setRollbackOnly()
           
 void setRollbackOnly(boolean isRollbackOnly)
           
 void setSchedulerSession(SchedulerSession schedulerSession)
           
 void setSession(org.hibernate.Session session)
           
 void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
           
 void setTaskMgmtSession(TaskMgmtSession taskMgmtSession)
           
 void setTransaction(org.hibernate.Transaction transaction)
           
 void setTransactionEnabled(boolean isTransactionEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbPersistenceService

public DbPersistenceService(DbPersistenceServiceFactory persistenceServiceFactory)
Method Detail

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