Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ParameterScope |
|
| 0.0;0 |
1 | 0 | /** 2007, Digitalis Informatica. All rights reserved. |
2 | * | |
3 | * Distribuicao e Gestao de Informatica, Lda. | |
4 | * Estrada de Paco de Arcos num.9 - Piso -1 | |
5 | * 2780-666 Paco de Arcos | |
6 | * Telefone: (351) 21 4408990 | |
7 | * Fax: (351) 21 4408999 | |
8 | * http://www.digitalis.pt | |
9 | */ | |
10 | package pt.digitalis.dif.dem.objects.parameters; | |
11 | ||
12 | /** | |
13 | * Parameter persistence scopes | |
14 | * | |
15 | * @author Pedro Viegas <a href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a><br/> | |
16 | * @created Nov 2, 2007 | |
17 | */ | |
18 | 0 | public enum ParameterScope { |
19 | ||
20 | /** | |
21 | * Parameter value will persist only during the request execution and for the current session. Much like an class | |
22 | * instance attribute. | |
23 | */ | |
24 | 0 | REQUEST, |
25 | ||
26 | /** | |
27 | * Parameter value will persist while the JVM is up. It's value will be shared among sessions. Much like a class | |
28 | * static attribute. | |
29 | */ | |
30 | 0 | STATIC, |
31 | ||
32 | /** Parameter value will persist during the current session of the current user. */ | |
33 | 0 | SESSION, |
34 | ||
35 | /** | |
36 | * Parameter value will persist between sessions for the current user. A session parameter common to all session of | |
37 | * the same user. Kept in the JVM, not in the persistent repository | |
38 | */ | |
39 | 0 | USER; |
40 | } |