ACE-2816 "Ensure that Behaviour Bindings are Removed on Event Subsystem Stop"

Fix up policy component class behaviour listeners for removal of behaviour

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85600 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Steven Glover
2014-09-24 11:28:31 +00:00
parent ab8bd84a7b
commit 40f3283ee3
4 changed files with 49 additions and 2 deletions

View File

@@ -95,8 +95,12 @@ import java.util.Map;
{
existing.remove(behaviourDefinition);
size--;
}
for (BehaviourChangeObserver<B> listener : observers)
{
listener.removal(binding, behaviourDefinition.getBehaviour());
}
}
}