| Modifier and Type | Field and Description |
|---|---|
| private final ComponentSystemEventHelper | |
| private static final String | |
| private static final String | |
| private ReentrantLisneterInvocationGuard | |
| private static final Logger | |
| private static final String | |
| private static final String | |
| private final SystemEventHelper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private SystemEventListener[] | copyListWithExclusions(Collection<SystemEventListener> original, Map<SystemEventListener, Boolean> excludes)
|
| private Set | Returns: the SystemEventListeners that should be used for the provided combination of SystemEvent and source.
|
| private SystemEvent | Returns: process any listeners for the specified SystemEventListenerHolder and return any SystemEvent that may have been created as a side-effect of processing the listeners.
|
| private SystemEvent | invokeListenersFor(Class<? extends SystemEvent> systemEventClass, SystemEvent event, Object source, Class<?> sourceBaseType, boolean useSourceLookup)
Traverse the |
| private SystemEvent | invokeViewListenersFor(FacesContext ctx, Class<? extends SystemEvent> systemEventClass, SystemEvent event, Object source)
|
| private boolean | |
| private boolean | |
| private SystemEvent | processListeners(Collection<SystemEventListener> listeners, SystemEvent event, Object source, EventInfo eventInfo)
Iterate through and invoke the listeners. |
| private SystemEvent | processListenersAccountingForAdds(List<SystemEventListener> listeners, SystemEvent event, Object source, EventInfo eventInfo)
|
| public void | publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Object source, ProjectStage projectStage)
|
| public void | publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source, ProjectStage projectStage)
|
| public void | |
| public void | subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener)
|
| public void | unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener)
|
| compSysEventHelper | back to summary |
|---|---|
| private final ComponentSystemEventHelper compSysEventHelper | |
| CONTEXT | back to summary |
|---|---|
| private static final String CONTEXT | |
| LISTENER | back to summary |
|---|---|
| private static final String LISTENER | |
| listenerInvocationGuard | back to summary |
|---|---|
| private ReentrantLisneterInvocationGuard listenerInvocationGuard | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| SOURCE | back to summary |
|---|---|
| private static final String SOURCE | |
| SYSTEM_EVENT_CLASS | back to summary |
|---|---|
| private static final String SYSTEM_EVENT_CLASS | |
| systemEventHelper | back to summary |
|---|---|
| private final SystemEventHelper systemEventHelper | |
| Events | back to summary |
|---|---|
| public Events() | |
| copyListWithExclusions | back to summary |
|---|---|
| private SystemEventListener[] copyListWithExclusions(Collection<SystemEventListener> original, Map<SystemEventListener, Boolean> excludes) | |
| getListeners | back to summary |
|---|---|
private Set
| |
| invokeComponentListenersFor | back to summary |
|---|---|
private SystemEvent invokeComponentListenersFor(Class<? extends SystemEvent> systemEventClass, Object source)
| |
| invokeListenersFor | back to summary |
|---|---|
| private SystemEvent invokeListenersFor(Class<? extends SystemEvent> systemEventClass, SystemEvent event, Object source, Class<?> sourceBaseType, boolean useSourceLookup) throws AbortProcessingException Traverse the
| |
| invokeViewListenersFor | back to summary |
|---|---|
| private SystemEvent invokeViewListenersFor(FacesContext ctx, Class<? extends SystemEvent> systemEventClass, SystemEvent event, Object source) | |
| needsProcessing | back to summary |
|---|---|
| private boolean needsProcessing(FacesContext context, Class<? extends SystemEvent> systemEventClass) | |
| originalDiffersFromCopy | back to summary |
|---|---|
| private boolean originalDiffersFromCopy(Collection<SystemEventListener> original, SystemEventListener[] copy) | |
| processListeners | back to summary |
|---|---|
| private SystemEvent processListeners(Collection<SystemEventListener> listeners, SystemEvent event, Object source, EventInfo eventInfo) Iterate through and invoke the listeners. If the passed event was | |
| processListenersAccountingForAdds | back to summary |
|---|---|
| private SystemEvent processListenersAccountingForAdds(List<SystemEventListener> listeners, SystemEvent event, Object source, EventInfo eventInfo) | |
| publishEvent | back to summary |
|---|---|
| public void publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Object source, ProjectStage projectStage) | |
| publishEvent | back to summary |
|---|---|
| public void publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source, ProjectStage projectStage) | |
| subscribeToEvent | back to summary |
|---|---|
| public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) | |
| subscribeToEvent | back to summary |
|---|---|
| public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) | |
| unsubscribeFromEvent | back to summary |
|---|---|
| public void unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) | |