TransactionJDBCServiceManager.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */

  20. package org.openspcoop2.pdd.logger;

  21. import java.sql.Connection;
  22. import java.util.Properties;

  23. import javax.sql.DataSource;

  24. import org.openspcoop2.core.transazioni.dao.IDumpMessaggioServiceSearch;
  25. import org.openspcoop2.generic_project.dao.jdbc.JDBCServiceManagerProperties;
  26. import org.openspcoop2.generic_project.exception.NotImplementedException;
  27. import org.openspcoop2.generic_project.exception.ServiceException;
  28. import org.openspcoop2.generic_project.utils.ServiceManagerProperties;
  29. import org.slf4j.Logger;

  30. import org.openspcoop2.pdd.logger.dump.TransactionDumpMessaggioServiceSearch;

  31. /**    
  32.  * TransactionJDBCServiceManager
  33.  *
  34.  * @author Poli Andrea (poli@link.it)
  35.  * @author $Author$
  36.  * @version $Rev$, $Date$
  37.  */
  38. public class TransactionJDBCServiceManager extends org.openspcoop2.core.transazioni.dao.jdbc.JDBCServiceManager{

  39.     public TransactionJDBCServiceManager() {
  40.         super();
  41.     }

  42.     public TransactionJDBCServiceManager(Connection connection, JDBCServiceManagerProperties jdbcProperties,
  43.             Logger alog) throws ServiceException {
  44.         super(connection, jdbcProperties, alog);
  45.     }

  46.     public TransactionJDBCServiceManager(Connection connection, JDBCServiceManagerProperties jdbcProperties)
  47.             throws ServiceException {
  48.         super(connection, jdbcProperties);
  49.     }

  50.     public TransactionJDBCServiceManager(Connection connection, ServiceManagerProperties smProperties, Logger alog)
  51.             throws ServiceException {
  52.         super(connection, smProperties, alog);
  53.     }

  54.     public TransactionJDBCServiceManager(Connection connection, ServiceManagerProperties smProperties)
  55.             throws ServiceException {
  56.         super(connection, smProperties);
  57.     }

  58.     public TransactionJDBCServiceManager(DataSource ds, JDBCServiceManagerProperties jdbcProperties, Logger alog)
  59.             throws ServiceException {
  60.         super(ds, jdbcProperties, alog);
  61.     }

  62.     public TransactionJDBCServiceManager(DataSource ds, JDBCServiceManagerProperties jdbcProperties)
  63.             throws ServiceException {
  64.         super(ds, jdbcProperties);
  65.     }

  66.     public TransactionJDBCServiceManager(DataSource ds, ServiceManagerProperties smProperties, Logger alog)
  67.             throws ServiceException {
  68.         super(ds, smProperties, alog);
  69.     }

  70.     public TransactionJDBCServiceManager(DataSource ds, ServiceManagerProperties smProperties) throws ServiceException {
  71.         super(ds, smProperties);
  72.     }

  73.     public TransactionJDBCServiceManager(String jndiName, Properties contextJNDI,
  74.             JDBCServiceManagerProperties jdbcProperties, Logger alog) throws ServiceException {
  75.         super(jndiName, contextJNDI, jdbcProperties, alog);
  76.     }

  77.     public TransactionJDBCServiceManager(String jndiName, Properties contextJNDI,
  78.             JDBCServiceManagerProperties jdbcProperties) throws ServiceException {
  79.         super(jndiName, contextJNDI, jdbcProperties);
  80.     }

  81.     public TransactionJDBCServiceManager(String jndiName, Properties contextJNDI, ServiceManagerProperties smProperties,
  82.             Logger alog) throws ServiceException {
  83.         super(jndiName, contextJNDI, smProperties, alog);
  84.     }

  85.     public TransactionJDBCServiceManager(String jndiName, Properties contextJNDI, ServiceManagerProperties smProperties)
  86.             throws ServiceException {
  87.         super(jndiName, contextJNDI, smProperties);
  88.     }

  89.     public TransactionJDBCServiceManager(String connectionUrl, String driverJDBC, String username, String password,
  90.             JDBCServiceManagerProperties jdbcProperties, Logger alog) throws ServiceException {
  91.         super(connectionUrl, driverJDBC, username, password, jdbcProperties, alog);
  92.     }

  93.     public TransactionJDBCServiceManager(String connectionUrl, String driverJDBC, String username, String password,
  94.             JDBCServiceManagerProperties jdbcProperties) throws ServiceException {
  95.         super(connectionUrl, driverJDBC, username, password, jdbcProperties);
  96.     }

  97.     public TransactionJDBCServiceManager(String connectionUrl, String driverJDBC, String username, String password,
  98.             ServiceManagerProperties smProperties, Logger alog) throws ServiceException {
  99.         super(connectionUrl, driverJDBC, username, password, smProperties, alog);
  100.     }

  101.     public TransactionJDBCServiceManager(String connectionUrl, String driverJDBC, String username, String password,
  102.             ServiceManagerProperties smProperties) throws ServiceException {
  103.         super(connectionUrl, driverJDBC, username, password, smProperties);
  104.     }

  105.    
  106.    
  107.     @Override
  108.     public IDumpMessaggioServiceSearch getDumpMessaggioServiceSearch() throws ServiceException,NotImplementedException{
  109.         return new TransactionDumpMessaggioServiceSearch(this);
  110.     }
  111.    
  112. }