// updateDeploy();
String tag = query.getTag();
DeployControllerService deploy = DeployControllerService.getCurrent();
DeployTagItem item = null;
if (deploy != null) {
deploy.update(tag);
item = deploy.getTagItem(tag);
}
if (item != null) {
TagStateQuery result = new TagStateQuery(tag, item.getState(),
item.getDeployException());
getBroker().queryResult(id, from, to, result);
}
else
getBroker().queryResult(id, from, to, null);