01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.terracotta.session.util;
05:
06: import com.tc.exception.ImplementMe;
07: import com.terracotta.session.util.ContextMgr;
08:
09: import javax.servlet.ServletContext;
10: import javax.servlet.http.HttpSessionContext;
11:
12: public class MockContextMgr implements ContextMgr {
13:
14: public ServletContext getServletContext() {
15: throw new ImplementMe();
16: }
17:
18: public HttpSessionContext getSessionContext() {
19: throw new ImplementMe();
20: }
21:
22: public String getAppName() {
23: return null;
24: }
25: }
|