org.netbeans.modules.j2eeserver/4 1.70.0 1

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


public interface JDBCDriverDeployer

JDBC driver deployer useful for deploying drivers to the server.

Implementation of JDBC driver deployer should be registerd via the OptionalDeploymentManagerFactory.

Since:
1.24

Method Summary
 javax.enterprise.deploy.spi.status.ProgressObject deployJDBCDrivers(javax.enterprise.deploy.spi.Target target, Set<Datasource> datasources)
          Deploys JDBC drivers for all the specified resources to the specified target server if the drivers have not been deployed yet.
 boolean supportsDeployJDBCDrivers(javax.enterprise.deploy.spi.Target target)
          Returns true if the specified target supports deployment of JDBC drivers, false otherwise.
 

Method Detail

supportsDeployJDBCDrivers

boolean supportsDeployJDBCDrivers(javax.enterprise.deploy.spi.Target target)
Returns true if the specified target supports deployment of JDBC drivers, false otherwise.

Parameters:
target - the JDBC drivers maight be deployed to.
Returns:
true if the specified target supports deployment of JDBC drivers, false otherwise.

deployJDBCDrivers

javax.enterprise.deploy.spi.status.ProgressObject deployJDBCDrivers(javax.enterprise.deploy.spi.Target target,
                                                                    Set<Datasource> datasources)
Deploys JDBC drivers for all the specified resources to the specified target server if the drivers have not been deployed yet.

Parameters:
target - where the drivers should be deployed to.
datasources -

org.netbeans.modules.j2eeserver/4 1.70.0 1

Built on September 6 2010.  |  Portions Copyright 1997-2010 Sun Microsystems, Inc. All rights reserved.