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 voidpublish(Object event)voidregister(Object listener)voidunregister(Object listener)voidunregisterAll()
-
-
-
Method Detail
-
publish
public void publish(Object event)
- Specified by:
publishin interfacecom.atlassian.event.api.EventPublisher
-
register
public void register(Object listener)
- Specified by:
registerin interfacecom.atlassian.event.api.EventListenerRegistrar
-
unregister
public void unregister(Object listener)
- Specified by:
unregisterin interfacecom.atlassian.event.api.EventListenerRegistrar
-
unregisterAll
public void unregisterAll()
- Specified by:
unregisterAllin interfacecom.atlassian.event.api.EventListenerRegistrar
-
-