org.nuiton.wikitty.services
Class WikittyServiceNotifier.EventPropagator

java.lang.Object
  extended by org.nuiton.wikitty.services.WikittyServiceNotifier.EventPropagator
All Implemented Interfaces:
WikittyListener
Enclosing class:
WikittyServiceNotifier

public static class WikittyServiceNotifier.EventPropagator
extends Object
implements WikittyListener

Class used to notify remote listener. This class is realy activate only if wikitty.notifier.transporter.class configuration is found and wikitty.service.event.propagateEvent is true


Field Summary
protected  WikittyServiceNotifier.RemoteNotifierTransporter transporter
           
protected  WikittyServiceNotifier ws
          Notifier service reference reference.
 
Fields inherited from interface org.nuiton.wikitty.services.WikittyListener
CLEAR_EXTENSION_METHOD, CLEAR_WIKITTY_METHOD, PUT_EXTENSION_METHOD, PUT_WIKITTY_METHOD, REMOVE_EXTENSION_METHOD, REMOVE_WIKITTY_METHOD
 
Constructor Summary
WikittyServiceNotifier.EventPropagator(org.nuiton.util.ApplicationConfig config, WikittyServiceNotifier ws, WikittyServiceNotifier.RemoteNotifierTransporter transporter)
           
 
Method Summary
 void clearExtension(WikittyEvent event)
           
 void clearWikitty(WikittyEvent event)
           
 void putExtension(WikittyEvent event)
          toto[1.0]
 void putWikitty(WikittyEvent event)
           
 void removeExtension(WikittyEvent event)
           
 void removeWikitty(WikittyEvent event)
           
protected  void sendMessage(WikittyEvent event)
          Send a jgroup message to all other channel member.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ws

protected WikittyServiceNotifier ws
Notifier service reference reference.


transporter

protected WikittyServiceNotifier.RemoteNotifierTransporter transporter
Constructor Detail

WikittyServiceNotifier.EventPropagator

public WikittyServiceNotifier.EventPropagator(org.nuiton.util.ApplicationConfig config,
                                              WikittyServiceNotifier ws,
                                              WikittyServiceNotifier.RemoteNotifierTransporter transporter)
Method Detail

sendMessage

protected void sendMessage(WikittyEvent event)
Send a jgroup message to all other channel member.

Parameters:
event - message to send

putWikitty

public void putWikitty(WikittyEvent event)
Specified by:
putWikitty in interface WikittyListener

removeWikitty

public void removeWikitty(WikittyEvent event)
Specified by:
removeWikitty in interface WikittyListener

clearWikitty

public void clearWikitty(WikittyEvent event)
Specified by:
clearWikitty in interface WikittyListener

putExtension

public void putExtension(WikittyEvent event)
Description copied from interface: WikittyListener
toto[1.0]

Specified by:
putExtension in interface WikittyListener

removeExtension

public void removeExtension(WikittyEvent event)
Specified by:
removeExtension in interface WikittyListener

clearExtension

public void clearExtension(WikittyEvent event)
Specified by:
clearExtension in interface WikittyListener


Copyright © 2009-2010 CodeLutin. All Rights Reserved.