nl.gx.webmanager.services.datasource
Interface DataSourceManager
public interface DataSourceManager
Service interface that wraps the Apache commons-dbcp. It allows consumers to
retrieve a name dataSource.
- Author:
- bramk
getAllSpecifications
java.lang.String[] getAllSpecifications()
- Returns:
getAllDataSourceNames
java.lang.String[] getAllDataSourceNames()
exists
boolean exists(java.lang.String dataSourceName)
getDataSource
javax.sql.DataSource getDataSource(java.lang.String dataSourceName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getProperties
DataSourceProperties getProperties(java.lang.String name)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
remove
void remove(java.lang.String name)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
setProperties
void setProperties(java.lang.String name,
DataSourceProperties properties)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
initialize
void initialize()
- Initializes the DataSourceManager. The executed actions are implementation-specific.
Copyright © 2007-2011 GX Software BV. All Rights Reserved.