@ApplicationScoped @Named(value="DBCPDriverProvider") public class DBCPDriverProvider extends Object implements DriverProvider
| Constructor and Description |
|---|
DBCPDriverProvider() |
DBCPDriverProvider(MavenArtifactResolver artifactResolver) |
| Modifier and Type | Method and Description |
|---|---|
DriverDeploymentInfo |
deploy(DriverDef driverDef) |
DriverDeploymentInfo |
getDeploymentInfo(String uuid) |
List<DriverDef> |
getDeployments() |
List<DriverDeploymentInfo> |
getDeploymentsInfo() |
void |
hasStarted() |
void |
loadConfig(Properties properties) |
DriverDeploymentInfo |
resync(DriverDef driverDef,
DriverDeploymentInfo deploymentInfo) |
void |
undeploy(DriverDeploymentInfo deploymentInfo) |
public DBCPDriverProvider()
@Inject public DBCPDriverProvider(MavenArtifactResolver artifactResolver)
public DriverDeploymentInfo deploy(DriverDef driverDef) throws Exception
deploy in interface DriverProviderExceptionpublic DriverDeploymentInfo resync(DriverDef driverDef, DriverDeploymentInfo deploymentInfo) throws Exception
resync in interface DriverProviderExceptionpublic void undeploy(DriverDeploymentInfo deploymentInfo) throws Exception
undeploy in interface DriverProviderExceptionpublic DriverDeploymentInfo getDeploymentInfo(String uuid) throws Exception
getDeploymentInfo in interface DriverProviderExceptionpublic List<DriverDeploymentInfo> getDeploymentsInfo() throws Exception
getDeploymentsInfo in interface DriverProviderExceptionpublic void loadConfig(Properties properties)
loadConfig in interface DriverProviderpublic void hasStarted()
throws Exception
hasStarted in interface DriverProviderExceptionCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.