Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jboss.ha.framework.interfaces
Interface DistributedState.DSListenerEx  view DistributedState.DSListenerEx download DistributedState.DSListenerEx.java

Enclosing interface:
DistributedState

public static interface DistributedState.DSListenerEx

A generalization of the DSListener that supports the Serializable key type. When a particular key in a category of the DistributedState service gets modified, all listeners will be notified of DS changes for that category.


Method Summary
 void keyHasBeenRemoved(java.lang.String category, java.io.Serializable key, java.io.Serializable previousContent, boolean locallyModified)
          Called whenever a key has been removed from a category the called object had subscribed in.
 void valueHasChanged(java.lang.String category, java.io.Serializable key, java.io.Serializable value, boolean locallyModified)
          Called whenever a key has been added or modified in the category the called object has subscribed in.
 

Method Detail

valueHasChanged

public void valueHasChanged(java.lang.String category,
                            java.io.Serializable key,
                            java.io.Serializable value,
                            boolean locallyModified)
Called whenever a key has been added or modified in the category the called object has subscribed in.


keyHasBeenRemoved

public void keyHasBeenRemoved(java.lang.String category,
                              java.io.Serializable key,
                              java.io.Serializable previousContent,
                              boolean locallyModified)
Called whenever a key has been removed from a category the called object had subscribed in.