|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sitools.notification.store.NotificationStoreXML
public final class NotificationStoreXML
Implementation of NotificationStore with XStream FilePersistenceStrategy
| Constructor Summary | |
|---|---|
NotificationStoreXML(org.restlet.Context context)
Default constructor |
|
NotificationStoreXML(java.io.File location,
org.restlet.Context context)
Constructor with the XML file location |
|
| Method Summary | |
|---|---|
void |
addObservable(java.lang.String observableUUID,
RestletObservable observable)
Add an observable |
void |
close()
|
RestletObservable |
getObservable(java.lang.String observableUUID)
Get the observable from ID |
void |
removeObservable(java.lang.String observableUUID)
Remove an observable |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotificationStoreXML(java.io.File location,
org.restlet.Context context)
location - directory of FilePersistenceStrategycontext - the Restlet Contextpublic NotificationStoreXML(org.restlet.Context context)
context - the Restlet Context| Method Detail |
|---|
public void close()
close in interface java.io.Closeablepublic RestletObservable getObservable(java.lang.String observableUUID)
NotificationStore
getObservable in interface NotificationStoreobservableUUID - the observable ID
public void addObservable(java.lang.String observableUUID,
RestletObservable observable)
NotificationStore
addObservable in interface NotificationStoreobservableUUID - observable IDobservable - restlet observablepublic void removeObservable(java.lang.String observableUUID)
NotificationStore
removeObservable in interface NotificationStoreobservableUUID - the observable ID to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||