|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.infoglue.cms.util.RemoteCacheUpdater
This class is a class that sends a update-message to all registered instances of delivery-engine.
| Constructor Summary | |
RemoteCacheUpdater()
Default Constructor |
|
| Method Summary | |
java.lang.String |
decodeHTTPEncodedString(java.lang.String encoded)
As the name indicates, this method takes a URL-encoded string and converts it to a normal javastring. |
java.util.Hashtable |
httpEncodedStringToHashtable(java.lang.String encodedstrang)
Converts a serialized hashtable in the url-encoded format to a Hashtable that one can use within the program. |
void |
notify(NotificationMessage notificationMessage)
This method gets called when a new NotificationMessage is available. |
void |
setContextParameters(java.util.Map map)
This method sets the context/arguments the listener should operate with. |
void |
updateRemoteCaches(NotificationMessage notificationMessage)
This method serializes the notificationMessage and calls the remote actions. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RemoteCacheUpdater()
| Method Detail |
public void setContextParameters(java.util.Map map)
setContextParameters in interface NotificationListenerpublic void notify(NotificationMessage notificationMessage)
notify in interface NotificationListener
public void updateRemoteCaches(NotificationMessage notificationMessage)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String decodeHTTPEncodedString(java.lang.String encoded)
encoded - The encoded string.
public java.util.Hashtable httpEncodedStringToHashtable(java.lang.String encodedstrang)
encodedstrang - The url-encoded string.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||