1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.myfaces.orchestra.conversation;
20
21 import java.util.Set;
22
23 /***
24 * Provides configuration information to a FlashScopeManager instance.
25 * <p>
26 * While a FlashScopeManager object is expected to be request-scoped, an instance
27 * of this type is usually application-scoped (aka singleton scoped).
28 */
29 public class FlashScopeManagerConfiguration
30 {
31 private Set ignoreViewIds;
32
33 public Set getIgnoreViewIds()
34 {
35 return ignoreViewIds;
36 }
37
38 /***
39 * Do not terminate any "unaccessed conversations" after handling a request to
40 * any of the specified views.
41 *
42 * Special "ignored views" are useful when dealing with things like nested
43 * frames within a page that periodically refresh themselves while the "main"
44 * part of the page remains unsubmitted.
45 */
46 public void setIgnoreViewIds(Set ignoreViewIds)
47 {
48 this.ignoreViewIds = ignoreViewIds;
49 }
50 }