org.netbeans.modules.j2eeserver/4 1.55.0 1

org.netbeans.modules.j2ee.deployment.plugins.spi
Interface DatasourceManager


public interface DatasourceManager

DatasourceManager is responsible for retrieving data sources deployed on the server and deploying data sources onto the server.

Since:
1.15

Method Summary
 void deployDatasources(Set<Datasource> datasources)
          Deploys given set of data sources.
 Set<Datasource> getDatasources()
          Retrieves the data sources deployed on the server
 

Method Detail

getDatasources

Set<Datasource> getDatasources()
                               throws ConfigurationException
Retrieves the data sources deployed on the server

Returns:
the set of data sources deployed on the server
Throws:
ConfigurationException - reports problems in retrieving data source definitions.

deployDatasources

void deployDatasources(Set<Datasource> datasources)
                       throws ConfigurationException,
                              DatasourceAlreadyExistsException
Deploys given set of data sources.

Throws:
ConfigurationException - if there is some problem with data source configuration
DatasourceAlreadyExistsException - if module data source(s) are conflicting with data source(s) already deployed on the server

org.netbeans.modules.j2eeserver/4 1.55.0 1

Built on December 1 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.