| Package | Description |
|---|---|
| org.mmbase.core.event |
An event mechanism.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
EventManager.Ready |
class |
IdEvent
Very generic event type, which only adds an 'id' property.
|
class |
LocalEvent
An event that does not need broadcasting to other servers
|
class |
SystemEvent |
static class |
SystemEvent.Collectable
A SystemEvent that is also Collectable will be collected by the EventManger and also issued to EventListeners which are added after the event
happened.
|
static class |
SystemEvent.DataSourceAvailable
Notifies that the database is now usable
|
static class |
SystemEvent.MachineName
Notifies the first determination or change in the 'machinename'
|
static class |
SystemEvent.ResourceLoaderChange |
static class |
SystemEvent.ServletContext |
static class |
SystemEvent.Shutdown
Notifies that the local MMBase is going to be shut down
|
static class |
SystemEvent.Up
Notifies that the local MMBase is now fully up and running
|
| Modifier and Type | Method and Description |
|---|---|
Event |
Event.clone() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IdEventBroker.canBrokerForEvent(Event event) |
abstract boolean |
EventBroker.canBrokerForEvent(Event event)
this method should return true if this event broker can broker for
events of this type.
|
boolean |
SystemEventBroker.canBrokerForEvent(Event event) |
boolean |
AllEventBroker.canBrokerForEvent(Event event) |
void |
AllEventListener.notify(Event event) |
protected void |
IdEventBroker.notifyEventListener(Event event,
EventListener listener) |
protected abstract void |
EventBroker.notifyEventListener(Event event,
EventListener listener)
This method has two functions.
|
protected void |
SystemEventBroker.notifyEventListener(Event event,
EventListener listener) |
protected void |
AllEventBroker.notifyEventListener(Event event,
EventListener listener) |
void |
EventBroker.notifyForEvent(Event event) |
void |
WeakEventBroker.notifyForEvent(Event event)
Only adds synchronization, because backing is not concurrency proof.
|
void |
EventManager.propagateEvent(Event event)
This method will propagate the given event to all the aproprate listeners.
|
void |
EventManager.propagateEvent(Event event,
boolean asynchronous)
Like
EventManager.propagateEvent(org.mmbase.core.event.Event) but with an extra argument 'asynchronous'. |
MMBase2 Utils 2.0.0 - 2019-08-08T23:20