}
}
}
else if (action instanceof DeployAction) {
DeployAction deployAction = (DeployAction) action;
Deployment deployment = deployAction.getDeployment();
deployments.put(deployment.getName(), deployment.getServer());
} else if (action instanceof UndeployAction) {
UndeployAction undeployAction = (UndeployAction) action;
Deployment deployment = undeployAction.getDeployment();
deployments.remove(deployment.getName(), deployment.getServer());
}
channel.ack();
}
@Override