KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > terracotta > session > util > MockSession


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
3  * notice. All rights reserved.
4  */

5 package com.terracotta.session.util;
6
7 import com.tc.exception.ImplementMe;
8 import com.terracotta.session.Session;
9 import com.terracotta.session.SessionData;
10 import com.terracotta.session.SessionId;
11
12 import java.util.Enumeration JavaDoc;
13
14 import javax.servlet.ServletContext JavaDoc;
15 import javax.servlet.http.HttpSessionContext JavaDoc;
16
17 public class MockSession implements Session {
18
19   public SessionData getSessionData() {
20     throw new ImplementMe();
21   }
22
23   public SessionId getSessionId() {
24     throw new ImplementMe();
25   }
26
27   public boolean isValid() {
28     throw new ImplementMe();
29   }
30
31   public Object JavaDoc getAttribute(String JavaDoc arg0) {
32     throw new ImplementMe();
33   }
34
35   public Enumeration JavaDoc getAttributeNames() {
36     throw new ImplementMe();
37   }
38
39   public long getCreationTime() {
40     throw new ImplementMe();
41   }
42
43   public String JavaDoc getId() {
44     throw new ImplementMe();
45   }
46
47   public long getLastAccessedTime() {
48     throw new ImplementMe();
49   }
50
51   public int getMaxInactiveInterval() {
52     throw new ImplementMe();
53   }
54
55   public ServletContext JavaDoc getServletContext() {
56     throw new ImplementMe();
57   }
58
59   public HttpSessionContext JavaDoc getSessionContext() {
60     throw new ImplementMe();
61   }
62
63   public Object JavaDoc getValue(String JavaDoc arg0) {
64     throw new ImplementMe();
65   }
66
67   public String JavaDoc[] getValueNames() {
68     throw new ImplementMe();
69   }
70
71   public void invalidate() {
72     throw new ImplementMe();
73   }
74
75   public boolean isNew() {
76     throw new ImplementMe();
77   }
78
79   public void putValue(String JavaDoc arg0, Object JavaDoc arg1) {
80     throw new ImplementMe();
81   }
82
83   public void removeAttribute(String JavaDoc arg0) {
84     throw new ImplementMe();
85   }
86
87   public void removeValue(String JavaDoc arg0) {
88     throw new ImplementMe();
89   }
90
91   public void setAttribute(String JavaDoc arg0, Object JavaDoc arg1) {
92     throw new ImplementMe();
93   }
94
95   public void setMaxInactiveInterval(int arg0) {
96     throw new ImplementMe();
97   }
98
99 }
100
Popular Tags