Trace:
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
jvx:server:storage:abstract_memory [2018/02/02 10:57] admin created |
jvx:server:storage:abstract_memory [2020/06/26 13:22] (current) cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOTRANS~~ | ||
~~Title: Using AbstractMemStorage~~ | ~~Title: Using AbstractMemStorage~~ | ||
- | Sometimes you don't have a database accessible but you need a storage for temporary or session relevant data. In that case you could use an AbstractMemStorage. This storage stores data in an internal MemDataBook. It fully implements IStorage interface and allows clients to access data via databooks. | + | Sometimes, you don't have a database accessible, but you need a storage for temporary or session relevant data. In that case, you could use an AbstractMemStorage. This storage stores data in an internal MemDataBook. It fully implements IStorage interface and allows clients to access data via databooks. |
== Usage == | == Usage == | ||
- | The class is an abstract class and you should extend if if you need it. It alos is possible to create an anonymous class. The following example shows usage in the Session life-cycle object of an application: | + | The class is an abstract class and you should extend if if you need it. It is also possible to create an anonymous class. The following example shows usage in the session life cycle object of an application: |
<file java> | <file java> |