com.atlassian.confluence.event
Class NoOpEventPublisher

java.lang.Object
  extended by com.atlassian.confluence.event.NoOpEventPublisher
All Implemented Interfaces:
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
NoOpEventPublisher()
           
 
Method Summary
 void publish(Object event)
           
 void register(Object listener)
           
 void unregister(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(Object event)
Specified by:
publish in interface com.atlassian.event.api.EventPublisher

register

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

unregister

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

unregisterAll

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


Copyright © 2003-2011 Atlassian. All Rights Reserved.