private void fireRunningEvent(AbstractName source) {
Collection targets = getTargets(source);
for (Iterator iterator = targets.iterator(); iterator.hasNext();) {
LifecycleListener listener = (LifecycleListener) iterator.next();
try {
listener.running(source);
} catch (Throwable e) {
log.warn("Exception occured while notifying listener", e);
}
}
}