@ApplicationScoped @Named(value="DBCPDataSourceProvider") public class DBCPDataSourceProvider extends Object implements DataSourceProvider
| Constructor and Description |
|---|
DBCPDataSourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
DataSourceDeploymentInfo |
deploy(DataSourceDef dataSourceDef) |
DataSourceDeploymentInfo |
getDeploymentInfo(String uuid) |
List<DataSourceDef> |
getDeployments() |
List<DataSourceDeploymentInfo> |
getDeploymentsInfo() |
void |
loadConfig(Properties properties) |
DataSource |
lookupDataSource(DataSourceDeploymentInfo deploymentInfo) |
DataSourceDeploymentInfo |
resync(DataSourceDef dataSourceDef,
DataSourceDeploymentInfo deploymentInfo) |
void |
undeploy(DataSourceDeploymentInfo deploymentInfo) |
public DataSourceDeploymentInfo deploy(DataSourceDef dataSourceDef) throws Exception
deploy in interface DataSourceProviderExceptionpublic DataSourceDeploymentInfo resync(DataSourceDef dataSourceDef, DataSourceDeploymentInfo deploymentInfo) throws Exception
resync in interface DataSourceProviderExceptionpublic void undeploy(DataSourceDeploymentInfo deploymentInfo) throws Exception
undeploy in interface DataSourceProviderExceptionpublic DataSourceDeploymentInfo getDeploymentInfo(String uuid) throws Exception
getDeploymentInfo in interface DataSourceProviderExceptionpublic List<DataSourceDeploymentInfo> getDeploymentsInfo() throws Exception
getDeploymentsInfo in interface DataSourceProviderExceptionpublic List<DataSourceDef> getDeployments() throws Exception
getDeployments in interface DataSourceProviderExceptionpublic void loadConfig(Properties properties)
loadConfig in interface DataSourceProviderpublic DataSource lookupDataSource(DataSourceDeploymentInfo deploymentInfo) throws Exception
lookupDataSource in interface DataSourceProviderExceptionCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.