|
Eclipse Rich Ajax Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IApplicationStore
The IApplicationStore
can be used as store for data that spans
the lifecycle of a web application instance.
Note: the IApplicationStore
implementation is used
in the so called application scope. That means that all information stored here will be
lost once the application web context is destroyed. Application scope also implies
concurrent access. Therefore the implementation of IApplicationStore
has to provide a proper synchronization of its storage datastructure.
RWT
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the value object which is stored under the given name in this IApplicationStore instance or null if no value object has been stored. |
void |
removeAttribute(java.lang.String name)
Removes the value object which is stored under the given name in this IApplicationStore instance. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Stores the given value object with the given name as key in this IApplicationStore instance. |
Method Detail |
---|
void setAttribute(java.lang.String name, java.lang.Object value)
IApplicationStore
instance.
java.lang.Object getAttribute(java.lang.String name)
IApplicationStore
instance or null if no value object has been stored.
void removeAttribute(java.lang.String name)
IApplicationStore
instance. Does nothing if no value object was stored
under the given name.
|
Eclipse Rich Ajax Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2011. All rights reserved.