public class WildflyDriverManagementClient extends WildflyBaseClient
admin, ADMIN, DEFAULT_ADMIN, DEFAULT_ADMIN_PASSWORD, DEFAULT_HOST, DEFAULT_PORT, DEFAULT_REALM, host, HOST, HTTP_REMOTING_PROTOCOL, HTTPS_REMOTING_PROTOCOL, JBOSS_SERVER_NAME, password, PASSWORD, port, PORT, profile, PROFILE, protocol, PROTOCOL, realm, REALM, REFERENCE_SERVER_HOST, REFERENCE_SERVER_NAME, referenceServerHost, referenceServerName, SERVER_GROUP, serverGroup| Constructor and Description |
|---|
WildflyDriverManagementClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(String deploymentId,
URI uri)
Creates a driver by deploying the content for the jar file.
|
List<WildflyDriverDef> |
getDeployedDrivers()
Gets the definitions of the currently available drivers.
|
void |
loadConfig(Properties properties) |
void |
undeploy(String deploymentId)
Un deploys a previously deployed driver.
|
checkResponse, createControllerClient, createControllerClient, getHosts, getReferenceServerHost, getReferenceServerName, getServers, isFailure, isStandalone, safeClose, testConnectionpublic void loadConfig(Properties properties)
loadConfig in class WildflyBaseClientpublic void deploy(String deploymentId, URI uri) throws Exception
deploymentId - Deployment id to be assigned for the deployed driver. The deploymentId must be a unique
identifier, and may be used later for the un-deployment operation.uri - Uri for the .jar file containing the driver implementation.Exception - If the deployment operation fails an exception is thrown.public void undeploy(String deploymentId) throws Exception
deploymentId - Deployment id for the driver to be un-deployed.Exception - If the un-deployment operation fails an exception is thrown.public List<WildflyDriverDef> getDeployedDrivers() throws Exception
ExceptionCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.