org.netbeans.modules.j2ee.deployment.plugins.api
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()
Retrieves the data sources deployed on the server

Returns:
the set of data sources deployed on the server

deployDatasources

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

Throws:
javax.enterprise.deploy.spi.exceptions.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

 

Built on March 27 2006.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.