public final class ResourceEventManager extends Object
Modifier and Type | Method and Description |
---|---|
static void |
fireAddedResource(ResourceEvent event)
Warn subscribers that a resource has been created
|
static void |
fireDeletedResource(ResourceEvent event)
Warn subscribers that a resource has been deleted
|
static void |
fireUpdatedResource(ResourceEvent event)
Warn subscribers that a resource has been updated
|
static void |
register(EventRessourceListener listener)
Subscribe to this listener.
|
public static void register(EventRessourceListener listener)
listener
- the listenerpublic static void fireAddedResource(ResourceEvent event)
event
- the event for the created resourcepublic static void fireUpdatedResource(ResourceEvent event)
event
- the event for the updated resourcepublic static void fireDeletedResource(ResourceEvent event)
event
- the event for the deleted resourceCopyright © 2020 City of Paris. All rights reserved.