Class WildflyDriverManagementClient


  • public class WildflyDriverManagementClient
    extends WildflyBaseClient
    Helper client for deploying/un-deploying drivers on a Wildfly server.
    • Constructor Detail

      • WildflyDriverManagementClient

        public WildflyDriverManagementClient()
    • Method Detail

      • deploy

        public void deploy​(String deploymentId,
                           URI uri)
                    throws Exception
        Creates a driver by deploying the content for the jar file.
        Parameters:
        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.
        Throws:
        Exception - If the deployment operation fails an exception is thrown.
      • undeploy

        public void undeploy​(String deploymentId)
                      throws Exception
        Un deploys a previously deployed driver.
        Parameters:
        deploymentId - Deployment id for the driver to be un-deployed.
        Throws:
        Exception - If the un-deployment operation fails an exception is thrown.