org.nuiton.wikitty
Class WikittyServiceNotifier.RemoteNotifier

java.lang.Object
  extended by org.nuiton.wikitty.WikittyServiceNotifier.RemoteNotifier
All Implemented Interfaces:
WikittyServiceListener
Enclosing class:
WikittyServiceNotifier

public static class WikittyServiceNotifier.RemoteNotifier
extends java.lang.Object
implements WikittyServiceListener

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  boolean propagateEvent
          Indique si les objects sont propages (true) vers les autres caches ou simplement supprimes des autres caches (false).
protected  WikittyServiceNotifier.RemoteNotifierTransporter transporter
           
static java.lang.String WIKITTY_EVENT_PROPAGATE_OPTION
          Indique si les objects sont propages (true) vers les autres caches ou simplement supprimes des autres caches (false).
static java.lang.String WIKITTY_NOTIFIER_TRANSPORTER_CLASS
          notifier class name in configuration that this service must used
protected  WikittyServiceNotifier ws
          Notifier service reference reference.
 
Fields inherited from interface org.nuiton.wikitty.WikittyServiceListener
CLEAR_EXTENSION_METHOD, CLEAR_WIKITTY_METHOD, PUT_EXTENSION_METHOD, PUT_WIKITTY_METHOD, REMOVE_EXTENSION_METHOD, REMOVE_WIKITTY_METHOD
 
Constructor Summary
WikittyServiceNotifier.RemoteNotifier(WikittyServiceNotifier ws, java.util.Properties props)
           
 
Method Summary
 void clearExtension(WikittyServiceEvent event)
           
 void clearWikitty(WikittyServiceEvent event)
           
 void putExtension(WikittyServiceEvent event)
          toto[1.0]
 void putWikitty(WikittyServiceEvent event)
           
 void removeExtension(WikittyServiceEvent event)
           
 void removeWikitty(WikittyServiceEvent event)
           
protected  void sendMessage(WikittyServiceEvent 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

WIKITTY_EVENT_PROPAGATE_OPTION

public static final java.lang.String WIKITTY_EVENT_PROPAGATE_OPTION
Indique si les objects sont propages (true) vers les autres caches ou simplement supprimes des autres caches (false). Default to false.

See Also:
Constant Field Values

WIKITTY_NOTIFIER_TRANSPORTER_CLASS

public static final java.lang.String WIKITTY_NOTIFIER_TRANSPORTER_CLASS
notifier class name in configuration that this service must used

See Also:
Constant Field Values

ws

protected WikittyServiceNotifier ws
Notifier service reference reference.


propagateEvent

protected boolean propagateEvent
Indique si les objects sont propages (true) vers les autres caches ou simplement supprimes des autres caches (false).

See Also:
WikittyServiceCached#WIKITTY_PROPAGATE_CACHE_OPTION

transporter

protected WikittyServiceNotifier.RemoteNotifierTransporter transporter
Constructor Detail

WikittyServiceNotifier.RemoteNotifier

public WikittyServiceNotifier.RemoteNotifier(WikittyServiceNotifier ws,
                                             java.util.Properties props)
Method Detail

sendMessage

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

Parameters:
event - message to send

putWikitty

public void putWikitty(WikittyServiceEvent event)
Specified by:
putWikitty in interface WikittyServiceListener

removeWikitty

public void removeWikitty(WikittyServiceEvent event)
Specified by:
removeWikitty in interface WikittyServiceListener

clearWikitty

public void clearWikitty(WikittyServiceEvent event)
Specified by:
clearWikitty in interface WikittyServiceListener

putExtension

public void putExtension(WikittyServiceEvent event)
Description copied from interface: WikittyServiceListener
toto[1.0]

Specified by:
putExtension in interface WikittyServiceListener

removeExtension

public void removeExtension(WikittyServiceEvent event)
Specified by:
removeExtension in interface WikittyServiceListener

clearExtension

public void clearExtension(WikittyServiceEvent event)
Specified by:
clearExtension in interface WikittyServiceListener


Copyright © 2009-2010 CodeLutin. All Rights Reserved.