private SystemEvent invokeViewListenersFor(FacesContext ctx,
Class<? extends SystemEvent> systemEventClass,
SystemEvent event,
Object source) {
SystemEvent result = event;
if (listenerInvocationGuard.isGuardSet(ctx, systemEventClass)) {
return result;
}
listenerInvocationGuard.setGuard(ctx, systemEventClass);