001: /*
002: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
003: * notice. All rights reserved.
004: */
005: package com.terracotta.session.util;
006:
007: import com.tc.exception.ImplementMe;
008: import com.terracotta.session.Session;
009: import com.terracotta.session.SessionData;
010: import com.terracotta.session.SessionId;
011: import com.terracotta.session.SessionRequest;
012:
013: import java.util.Enumeration;
014:
015: import javax.servlet.ServletContext;
016: import javax.servlet.http.HttpSessionContext;
017:
018: public class MockSession implements Session {
019:
020: public SessionData getSessionData() {
021: throw new ImplementMe();
022: }
023:
024: public SessionId getSessionId() {
025: throw new ImplementMe();
026: }
027:
028: public boolean isValid() {
029: throw new ImplementMe();
030: }
031:
032: public Object getAttribute(String arg0) {
033: throw new ImplementMe();
034: }
035:
036: public Enumeration getAttributeNames() {
037: throw new ImplementMe();
038: }
039:
040: public long getCreationTime() {
041: throw new ImplementMe();
042: }
043:
044: public String getId() {
045: throw new ImplementMe();
046: }
047:
048: public long getLastAccessedTime() {
049: throw new ImplementMe();
050: }
051:
052: public int getMaxInactiveInterval() {
053: throw new ImplementMe();
054: }
055:
056: public ServletContext getServletContext() {
057: throw new ImplementMe();
058: }
059:
060: public HttpSessionContext getSessionContext() {
061: throw new ImplementMe();
062: }
063:
064: public Object getValue(String arg0) {
065: throw new ImplementMe();
066: }
067:
068: public String[] getValueNames() {
069: throw new ImplementMe();
070: }
071:
072: public void invalidate() {
073: throw new ImplementMe();
074: }
075:
076: public boolean isNew() {
077: throw new ImplementMe();
078: }
079:
080: public void putValue(String arg0, Object arg1) {
081: throw new ImplementMe();
082: }
083:
084: public void removeAttribute(String arg0) {
085: throw new ImplementMe();
086: }
087:
088: public void removeValue(String arg0) {
089: throw new ImplementMe();
090: }
091:
092: public void setAttribute(String arg0, Object arg1) {
093: throw new ImplementMe();
094: }
095:
096: public void setMaxInactiveInterval(int arg0) {
097: throw new ImplementMe();
098: }
099:
100: public void associateRequest(SessionRequest request) {
101: throw new ImplementMe();
102: }
103:
104: public void clearRequest() {
105: throw new ImplementMe();
106: }
107:
108: }
|