public class TransactionEnvironmentImpl extends Object implements TransactionEnvironment
Constructor and Description |
---|
TransactionEnvironmentImpl(SessionFactoryImpl sessionFactory) |
Modifier and Type | Method and Description |
---|---|
JdbcServices |
getJdbcServices()
Retrieve the JDBC services for this environment.
|
JtaPlatform |
getJtaPlatform()
Retrieve the JTA platform for this environment.
|
SessionFactoryImplementor |
getSessionFactory()
Retrieve the session factory for this environment.
|
StatisticsImplementor |
getStatisticsImplementor()
Get access to the statistics collector
|
TransactionFactory |
getTransactionFactory()
Retrieve the transaction factory for this environment.
|
protected ServiceRegistry |
serviceRegistry() |
public TransactionEnvironmentImpl(SessionFactoryImpl sessionFactory)
public SessionFactoryImplementor getSessionFactory()
TransactionEnvironment
getSessionFactory
in interface TransactionEnvironment
protected ServiceRegistry serviceRegistry()
public JdbcServices getJdbcServices()
TransactionEnvironment
getJdbcServices
in interface TransactionEnvironment
public JtaPlatform getJtaPlatform()
TransactionEnvironment
getJtaPlatform
in interface TransactionEnvironment
public TransactionFactory getTransactionFactory()
TransactionEnvironment
getTransactionFactory
in interface TransactionEnvironment
public StatisticsImplementor getStatisticsImplementor()
TransactionEnvironment
getStatisticsImplementor
in interface TransactionEnvironment
Copyright © 2018 JBoss by Red Hat. All rights reserved.