/** * {@inheritDoc} */ @Override public void redeploy(Deployable deployable, DeployableMonitor monitor) { this.redeploy(deployable); // Wait for the Deployable to be redeployed DeployerWatchdog watchdog = new DeployerWatchdog(monitor); watchdog.setLogger(getLogger()); watchdog.watchForAvailability(); }
/** * {@inheritDoc} */ @Override public void redeploy(Deployable deployable, DeployableMonitor monitor) { this.redeploy(deployable); // Wait for the Deployable to be redeployed DeployerWatchdog watchdog = new DeployerWatchdog(monitor); watchdog.setLogger(getLogger()); watchdog.watchForAvailability(); }
/** * {@inheritDoc} */ @Override public void redeploy(Deployable deployable, DeployableMonitor monitor) { this.redeploy(deployable); // Wait for the Deployable to be redeployed DeployerWatchdog watchdog = new DeployerWatchdog(monitor); watchdog.setLogger(getLogger()); watchdog.watchForAvailability(); }
/** * {@inheritDoc} */ @Override public void redeploy(Deployable deployable, DeployableMonitor monitor) { this.redeploy(deployable); // Wait for the Deployable to be redeployed DeployerWatchdog watchdog = new DeployerWatchdog(monitor); watchdog.setLogger(getLogger()); watchdog.watchForAvailability(); }
/** * {@inheritDoc} */ @Override public void redeploy(Deployable deployable, DeployableMonitor monitor) { this.redeploy(deployable); // Wait for the Deployable to be redeployed DeployerWatchdog watchdog = new DeployerWatchdog(monitor); watchdog.setLogger(getLogger()); watchdog.watchForAvailability(); }
/** * {@inheritDoc} */ @Override public void redeploy(Deployable deployable, DeployableMonitor monitor) { this.redeploy(deployable); // Wait for the Deployable to be redeployed DeployerWatchdog watchdog = new DeployerWatchdog(monitor); watchdog.setLogger(getLogger()); watchdog.watchForAvailability(); }
/** * {@inheritDoc} */ @Override public void redeploy(Deployable deployable, DeployableMonitor monitor) { this.redeploy(deployable); // Wait for the Deployable to be redeployed DeployerWatchdog watchdog = new DeployerWatchdog(monitor); watchdog.setLogger(getLogger()); watchdog.watchForAvailability(); }
/** * {@inheritDoc} */ @Override public void redeploy(Deployable deployable, DeployableMonitor monitor) { this.redeploy(deployable); // Wait for the Deployable to be redeployed DeployerWatchdog watchdog = new DeployerWatchdog(monitor); watchdog.setLogger(getLogger()); watchdog.watchForAvailability(); }
/** * {@inheritDoc} */ @Override public void start(Deployable deployable, DeployableMonitor monitor) { start(deployable); // Wait for the Deployable to be started DeployerWatchdog watchdog = new DeployerWatchdog(monitor); watchdog.setLogger(getLogger()); watchdog.watchForAvailability(); }
/** * {@inheritDoc} */ @Override public void redeploy(Deployable deployable, DeployableMonitor monitor) { this.redeploy(deployable); // Wait for the Deployable to be redeployed DeployerWatchdog watchdog = new DeployerWatchdog(monitor); watchdog.setLogger(getLogger()); watchdog.watchForAvailability(); }
/** * {@inheritDoc} */ @Override public void redeploy(Deployable deployable, DeployableMonitor monitor) { this.redeploy(deployable); // Wait for the Deployable to be redeployed DeployerWatchdog watchdog = new DeployerWatchdog(monitor); watchdog.setLogger(getLogger()); watchdog.watchForAvailability(); }
/** * {@inheritDoc} */ @Override public void deploy(Deployable deployable, DeployableMonitor monitor) { try { deploy(deployable); } catch (Throwable t) { // CARGO-1100: When the deployment action has failed, log the failure and then wait for // the watchdog to return. If deployment was indeed complete, the watchdog will detect // it; else it will make the method fail. getLogger().info("The deployment has failed: " + t.toString(), this.getClass().getName()); if (getLogger().getLevel() == LogLevel.DEBUG) { Writer stackTrace = new StringWriter(); t.printStackTrace(new PrintWriter(stackTrace)); getLogger().debug(stackTrace.toString(), this.getClass().getName()); } } // Wait for the Deployable to be deployed DeployerWatchdog watchdog = new DeployerWatchdog(monitor); watchdog.setLogger(getLogger()); watchdog.watchForAvailability(); }