// Clean up the activations.
final Iterator activationItr = activationsByActionIdByServiceLocator
.entrySet().iterator();
while (activationItr.hasNext()) {
final Map.Entry value = (Map.Entry) activationItr.next();
final IServiceLocator locator = (IServiceLocator) value
.getKey();
final IHandlerService service = (IHandlerService) locator
.getService(IHandlerService.class);
final Map activationsByActionId = (Map) value.getValue();
final Iterator iterator = activationsByActionId.values()
.iterator();
while (iterator.hasNext()) {