|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Persistent
annotate ws-resource implementation class with persistence settings
| Optional Element Summary | |
|---|---|
boolean |
allowConcurrentAccess
whether access to wsresources can be done from concurrent threads if false, the hosting environment will forbid concurrent access by "locking" the instance for the duration of a request. |
LoadSemantics |
loadSemantics
load semantics: "load once" or normal "Load once" means: the instance is kept in memory, but changes are written to disk as well (in case you are using disk persistence) "Normal" means: the instance is not kept in memory, but reloaded from disk on each request |
public abstract LoadSemantics loadSemantics
public abstract boolean allowConcurrentAccess
ConcurrentAccess annotation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||