com.atlassian.confluence.event
Class NoOpEventPublisher

java.lang.Object
  extended by com.atlassian.confluence.event.NoOpEventPublisher
All Implemented Interfaces:
com.atlassian.event.api.EventListenerRegistrar, com.atlassian.event.api.EventPublisher

public class NoOpEventPublisher
extends java.lang.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
NoOpEventPublisher()
           
 
Method Summary
 void publish(java.lang.Object event)
           
 void register(java.lang.Object listener)
           
 void unregister(java.lang.Object listener)
           
 void unregisterAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpEventPublisher

public NoOpEventPublisher()
Method Detail

publish

public void publish(java.lang.Object event)
Specified by:
publish in interface com.atlassian.event.api.EventPublisher

register

public void register(java.lang.Object listener)
Specified by:
register in interface com.atlassian.event.api.EventListenerRegistrar

unregister

public void unregister(java.lang.Object listener)
Specified by:
unregister in interface com.atlassian.event.api.EventListenerRegistrar

unregisterAll

public void unregisterAll()
Specified by:
unregisterAll in interface com.atlassian.event.api.EventListenerRegistrar


Copyright © 2003-2013 Atlassian. All Rights Reserved.