@Test public void testDeployDriver() throws Exception { super.testDeployDriver(); DriverDeploymentInfo deploymentInfo = driverProvider.getDeploymentInfo(driverDef1.getUuid()); DriverDeploymentInfo expectedDeploymentInfo = new DriverDeploymentInfo(DRIVER1_UUID, DRIVER1_UUID, true, DRIVER1_UUID, DRIVER1_CLASS); assertEquals(expectedDeploymentInfo, deploymentInfo); }
@Override public DriverDeploymentInfo getDeploymentInfo(String uuid) throws Exception { return deploymentInfos.get(uuid); }
DBCPDriverProvider implements DriverProvider { @Override public DriverDeploymentInfo getDeploymentInfo(String uuid) throws Exception { return deploymentInfos.get(uuid); } }
DBCPDriverProvider implements DriverProvider { @Override public DriverDeploymentInfo getDeploymentInfo(String uuid) throws Exception { return deploymentInfos.get(uuid); } DBCPDriverProvider(); @Inject  DBCPDriverProvider(MavenArtifactResolver artifactResolver); }
DBCPDriverProvider implements DriverProvider { @Override public DriverDeploymentInfo getDeploymentInfo(String uuid) throws Exception { return deploymentInfos.get(uuid); } DBCPDriverProvider(); @Inject  DBCPDriverProvider(MavenArtifactResolver artifactResolver); @Override DriverDeploymentInfo deploy(DriverDef driverDef); @Override DriverDeploymentInfo resync(DriverDef driverDef,
                                       DriverDeploymentInfo deploymentInfo); @Override void undeploy(DriverDeploymentInfo deploymentInfo); @Override DriverDeploymentInfo getDeploymentInfo(String uuid); @Override List< DriverDeploymentInfo > getDeploymentsInfo(); List< DriverDef > getDeployments(); @Override void loadConfig(Properties properties); @Override void hasStarted(); }
DBCPDriverProvider implements DriverProvider { @Override public DriverDeploymentInfo getDeploymentInfo(String uuid) throws Exception { return deploymentInfos.get(uuid); } DBCPDriverProvider(); @Inject  DBCPDriverProvider(MavenArtifactResolver artifactResolver); @Override DriverDeploymentInfo deploy(DriverDef driverDef); @Override DriverDeploymentInfo resync(DriverDef driverDef,
                                       DriverDeploymentInfo deploymentInfo); @Override void undeploy(DriverDeploymentInfo deploymentInfo); @Override DriverDeploymentInfo getDeploymentInfo(String uuid); @Override List< DriverDeploymentInfo > getDeploymentsInfo(); List< DriverDef > getDeployments(); @Override void loadConfig(Properties properties); @Override void hasStarted();  }