| Package | Description |
|---|---|
| org.omnifaces.util |
| Modifier and Type | Method and Description |
|---|---|
static void |
Events.subscribeToApplicationEvent(Class<? extends SystemEvent> type,
Callback.SerializableVoid callback)
Subscribe the given callback to the current application that get invoked every time when the given
system event type is published in the current application.
|
static void |
Events.subscribeToViewEvent(Class<? extends SystemEvent> type,
Callback.SerializableVoid callback)
Subscribe the given callback to the current view that get invoked every time when the given
system event type is published on the current view.
|
Copyright © 2012–2016 OmniFaces. All rights reserved.