| Package | Description |
|---|---|
| org.xwiki.observation | |
| org.xwiki.observation.event |
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
WrappedThreadEventListener.getEvents() |
List<Event> |
AbstractEventListener.getEvents() |
List<Event> |
EventListener.getEvents() |
| Modifier and Type | Method and Description |
|---|---|
void |
ObservationManager.addEvent(String listenerName,
Event event)
Adds an Event to an already registered listener.
|
void |
ObservationManager.notify(Event event,
Object source)
Convenience front-end where the additional data parameter is
null. |
void |
ObservationManager.notify(Event event,
Object source,
Object data)
Call the registered listeners matching the passed Event.
|
void |
EventListener.onEvent(Event event,
Object source,
Object data)
The
ObservationManager calls this method when an event matches one of the events
for which this listener is registered (see EventListener.getEvents(). |
void |
AbstractThreadEventListener.onEvent(Event event,
Object source,
Object data) |
protected void |
WrappedThreadEventListener.onEventInternal(Event event,
Object source,
Object data) |
protected abstract void |
AbstractThreadEventListener.onEventInternal(Event event,
Object source,
Object data)
Called when the event has been produce by the proper
Thread. |
void |
ObservationManager.removeEvent(String listenerName,
Event event)
Removes an Event to an already registered listener.
|
| Constructor and Description |
|---|
AbstractEventListener(String name,
Event... events) |
| Constructor and Description |
|---|
AbstractEventListener(String name,
List<? extends Event> events) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BeginEvent
Implemented by event indicating some task is starting.
|
interface |
BeginFoldEvent
Implemented by event indicating a task which generates other events during its process is starting.
|
interface |
CancelableEvent
This event can be canceled by the receiver.
|
interface |
EndEvent
Implemented by event indicating some task is stopping.
|
interface |
EndFoldEvent
Implemented by event indicating the process which generates other events during its process is stopping.
|
interface |
FilterableEvent
An Event that supports
EventFilters. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCancelableEvent
Abstract base class for cancelable events.
|
class |
AbstractFilterableEvent
A generic Event implementation to extend for all Events that want to support
EventFilters. |
class |
ActionExecutionEvent
Deprecated.
since 3.2M3, use the
org.xwiki.bridge.event.ActionExecutedEvent class from XWiki Platform instead |
class |
AllEvent
Special event matcher used by a listener which need to listened to all possible events.
|
class |
ApplicationStartedEvent
An event triggered when the XWiki application is started.
|
class |
ApplicationStoppedEvent
An event triggered when the XWiki application is stopped.
|
| Modifier and Type | Field and Description |
|---|---|
static Event |
AllEvent.ALLEVENT
Unique instance of the event matcher.
|
Copyright © 2004–2016 XWiki. All rights reserved.