Class XAPoolTxSupportDatabaseService
java.lang.Object
org.exoplatform.services.database.impl.XAPoolTxSupportDatabaseService
- All Implemented Interfaces:
DatabaseService
Created by The eXo Platform SAS
Author : Tuan Nguyen tuan08@users.sourceforge.net Apr 4, 2006
-
Constructor Summary
ConstructorsConstructorDescriptionXAPoolTxSupportDatabaseService(org.exoplatform.container.xml.InitParams params, org.exoplatform.services.transaction.TransactionService txService) -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseConnection(Connection conn) getConnection(String dsName) This method should return the default datasource of the applicationgetDatasource(String dsName) This method should look up the datasouce by the datasource name and return.org.exoplatform.services.transaction.TransactionServiceThis method should return the transaction service
-
Constructor Details
-
Method Details
-
getDatasource
Description copied from interface:DatabaseServiceThis method should return the default datasource of the application- Specified by:
getDatasourcein interfaceDatabaseService- Returns:
- Throws:
Exception
-
getDatasource
Description copied from interface:DatabaseServiceThis method should look up the datasouce by the datasource name and return. If the datasource is not found then the method should return null- Specified by:
getDatasourcein interfaceDatabaseService- Parameters:
dsName-- Returns:
- Throws:
Exception
-
getConnection
- Specified by:
getConnectionin interfaceDatabaseService- Throws:
Exception
-
getConnection
- Specified by:
getConnectionin interfaceDatabaseService- Throws:
Exception
-
closeConnection
- Specified by:
closeConnectionin interfaceDatabaseService- Throws:
Exception
-
getTransactionService
public org.exoplatform.services.transaction.TransactionService getTransactionService() throws ExceptionDescription copied from interface:DatabaseServiceThis method should return the transaction service- Specified by:
getTransactionServicein interfaceDatabaseService- Returns:
- Throws:
Exception
-