DeploymentAddHandler dah = isDomain ? DeploymentAddHandler.createForDomainServer(contentRepository, remoteFileRepository, vaultReader)
: DeploymentAddHandler.createForStandalone(contentRepository, vaultReader);
deployments.registerOperationHandler(DeploymentAddHandler.OPERATION_NAME, dah, dah, false);
DeploymentRemoveHandler dremh = new DeploymentRemoveHandler(contentRepository, vaultReader);
deployments.registerOperationHandler(DeploymentRemoveHandler.OPERATION_NAME, dremh, dremh, false);
final DeploymentDeployHandler ddhu = new DeploymentDeployHandler(vaultReader);
deployments.registerOperationHandler(DeploymentDeployHandler.OPERATION_NAME, ddhu, ddhu, false);
final DeploymentUndeployHandler duh = new DeploymentUndeployHandler(vaultReader);
deployments.registerOperationHandler(DeploymentUndeployHandler.OPERATION_NAME, duh, duh, false);
final DeploymentRedeployHandler drdh = new DeploymentRedeployHandler(vaultReader);
deployments.registerOperationHandler(DeploymentRedeployHandler.OPERATION_NAME, drdh, drdh, false);