|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.infoglue.cms.util.RemoteCacheUpdater
public class 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 | |
|---|---|
static void |
clearSystemNotificationMessages()
|
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. |
static java.util.List |
getSystemNotificationMessages()
|
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(java.util.Hashtable internalMessage,
java.util.Hashtable publicMessage)
This method serializes the notificationMessage and calls the remote actions. |
void |
updateRemoteCaches(NotificationMessage notificationMessage)
This method serializes the notificationMessage and calls the remote actions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, 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 static java.util.List getSystemNotificationMessages()
public static void clearSystemNotificationMessages()
public void notify(NotificationMessage notificationMessage)
notify in interface NotificationListener
public void updateRemoteCaches(NotificationMessage notificationMessage)
throws java.lang.Exception
java.lang.Exception
public void updateRemoteCaches(java.util.Hashtable internalMessage,
java.util.Hashtable publicMessage)
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 | ||||||||