2009/05/20 - Apache Shale has been retired.
For more information, please explore the Attic.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shale.view;
19
20 /***
21 * <p>Concrete implementation of {@link AbstractSessionBean}.</p>
22 */
23 public class ConcreteSessionBean extends AbstractSessionBean {
24
25 private static final long serialVersionUID = 223699480528626601L;
26
27
28 /*** Creates a new instance of ConcreteSessionBean */
29 public ConcreteSessionBean() {
30 }
31
32
33
34
35
36 public void init() {
37 record("init()");
38 }
39
40
41 public void destroy() {
42 record("destroy()");
43 }
44
45
46 public String toString() {
47 return "ConcreteSessionBean";
48 }
49
50
51
52
53
54 private static String record = "";
55
56
57 public static void clear() {
58 record = "";
59 }
60
61
62 public static String record() {
63 return record;
64 }
65
66
67 private static void record(String message) {
68 record += message + "//";
69 }
70
71 }