当前页面:
在线文档首页 >
JBoss JBPM 3.1.3 API 英文版文档
DbPersistenceServiceFactory (jbpm-3.1.3) - JBoss JBPM 3.1.3 API 英文版文档
org.jbpm.persistence.db
Class DbPersistenceServiceFactory
java.lang.Object
org.jbpm.persistence.db.DbPersistenceServiceFactory
- All Implemented Interfaces:
- java.io.Serializable, ServiceFactory
public class DbPersistenceServiceFactory
- extends java.lang.Object
- implements ServiceFactory
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbPersistenceServiceFactory
public DbPersistenceServiceFactory()
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
getConfiguration
public org.hibernate.cfg.Configuration getConfiguration()
getSchemaExport
public org.hibernate.tool.hbm2ddl.SchemaExport getSchemaExport()
getSessionFactory
public org.hibernate.SessionFactory getSessionFactory()
getDataSource
public javax.sql.DataSource getDataSource()
createSchema
public void createSchema()
dropSchema
public void dropSchema()
close
public void close()
- Description copied from interface:
ServiceFactory
- close this service factory
- Specified by:
close
in interface ServiceFactory
getDataSourceJndiName
public java.lang.String getDataSourceJndiName()
setDataSourceJndiName
public void setDataSourceJndiName(java.lang.String dataSourceJndiName)
getSessionFactoryJndiName
public java.lang.String getSessionFactoryJndiName()
setSessionFactoryJndiName
public void setSessionFactoryJndiName(java.lang.String sessionFactoryJndiName)
setConfiguration
public void setConfiguration(org.hibernate.cfg.Configuration configuration)
setDataSource
public void setDataSource(javax.sql.DataSource dataSource)
setSchemaExport
public void setSchemaExport(org.hibernate.tool.hbm2ddl.SchemaExport schemaExport)
setSessionFactory
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
isTransactionEnabled
public boolean isTransactionEnabled()
setTransactionEnabled
public void setTransactionEnabled(boolean isTransactionEnabled)
Version : jbpm-3.1.3