ConfluenceEventPublisherManager
@Deprecated @ParametersAreNonnullByDefault public class ConfluenceEventManager extends Object implements com.atlassian.event.EventManager
Delegates to the LegacyEventManager
from atlassian-events, this in turn
delegates to the injected EventPublisher
.
Constructor and Description |
---|
ConfluenceEventManager(com.atlassian.event.EventManager delegateEventManager,
com.atlassian.event.legacy.SpringContextEventPublisher springContextEventPublisher)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
publishEvent(com.atlassian.event.Event event)
Deprecated.
|
void |
registerListener(String key,
com.atlassian.event.EventListener eventListener)
Deprecated.
|
void |
unregisterListener(String key)
Deprecated.
|
public ConfluenceEventManager(com.atlassian.event.EventManager delegateEventManager, com.atlassian.event.legacy.SpringContextEventPublisher springContextEventPublisher)
public void publishEvent(com.atlassian.event.Event event)
publishEvent
in interface com.atlassian.event.EventManager
ConfluenceEventPropagatingException
- if any of the listeners throw such an exception.EventManager.publishEvent(com.atlassian.event.Event)
public void registerListener(String key, com.atlassian.event.EventListener eventListener)
registerListener
in interface com.atlassian.event.EventManager
public void unregisterListener(String key)
unregisterListener
in interface com.atlassian.event.EventManager
Copyright © 2003–2020 Atlassian. All rights reserved.