protected void initEnd()
{
super.initEnd();
if (isAllowRepository()) {
RepositoryService repositoryService = RepositoryService.getCurrent();
_repository = repositoryService.getRepository();
_repository.addListener(getId(), this);
_repositorySpi = repositoryService.getRepositorySpi();
}
DeployControllerService deployService = DeployControllerService.getCurrent();
deployService.addTag(getId());