public interface JDBCDriverDeployer
Implementation of JDBC driver deployer should be registerd via the OptionalDeploymentManagerFactory
.
Modifier and Type | Method and Description |
---|---|
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.
|
boolean supportsDeployJDBCDrivers(javax.enterprise.deploy.spi.Target target)
target
- the JDBC drivers maight be deployed to.javax.enterprise.deploy.spi.status.ProgressObject deployJDBCDrivers(javax.enterprise.deploy.spi.Target target, Set<Datasource> datasources)
target
- where the drivers should be deployed to.datasources
-