final ServiceController<?> controller = context.getServiceContainer().getService(DeploymentScannerService.getServiceName(name));
if(controller == null) {
resultHandler.handleFailure(notConfigured(), param);
} else {
try {
final DeploymentScanner scanner = (DeploymentScanner) controller.getValue();
scanner.startScanner();
resultHandler.handleSuccess(null, param);
} catch (Throwable t) {
resultHandler.handleFailure(t, param);
}
}