Package com.atlassian.confluence.event
Class NoOpEventPublisher
- java.lang.Object
-
- com.atlassian.confluence.event.NoOpEventPublisher
-
- All Implemented Interfaces:
com.atlassian.event.api.EventListenerRegistrar
,com.atlassian.event.api.EventPublisher
public class NoOpEventPublisher extends Object implements com.atlassian.event.api.EventPublisher
Used in bootstrap code when we don't want to publish any events.- Since:
- 3.5.3
-
-
Constructor Summary
Constructors Constructor Description NoOpEventPublisher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
publish(Object event)
void
register(Object listener)
void
unregister(Object listener)
void
unregisterAll()
-
-
-
Method Detail
-
publish
public void publish(Object event)
- Specified by:
publish
in interfacecom.atlassian.event.api.EventPublisher
-
register
public void register(Object listener)
- Specified by:
register
in interfacecom.atlassian.event.api.EventListenerRegistrar
-
unregister
public void unregister(Object listener)
- Specified by:
unregister
in interfacecom.atlassian.event.api.EventListenerRegistrar
-
unregisterAll
public void unregisterAll()
- Specified by:
unregisterAll
in interfacecom.atlassian.event.api.EventListenerRegistrar
-
-