01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.weblogic;
05:
06: import weblogic.j2ee.descriptor.FilterBean;
07: import weblogic.j2ee.descriptor.FilterMappingBean;
08:
09: public class DSOFilterMappingBean implements FilterMappingBean {
10:
11: private final FilterBean filter;
12:
13: public DSOFilterMappingBean(FilterBean filter) {
14: this .filter = filter;
15: }
16:
17: public FilterBean getFilter() {
18: return filter;
19: }
20:
21: public void addDispatcher(String s) {
22: throw new AssertionError();
23: }
24:
25: public String[] getDispatchers() {
26: return new String[0];
27: }
28:
29: public String getFilterName() {
30: return "Terracotta Session Filter";
31: }
32:
33: public String getId() {
34: throw new AssertionError();
35: }
36:
37: public String getServletName() {
38: return "Terracotta";
39: }
40:
41: public String getUrlPattern() {
42: return "/*";
43: }
44:
45: public void removeDispatcher(String s) {
46: throw new AssertionError();
47: }
48:
49: public void setDispatchers(String[] as) {
50: throw new AssertionError();
51: }
52:
53: public void setFilterName(String s) {
54: throw new AssertionError();
55: }
56:
57: public void setId(String s) {
58: throw new AssertionError();
59: }
60:
61: public void setServletName(String s) {
62: throw new AssertionError();
63: }
64:
65: public void setUrlPattern(String s) {
66: throw new AssertionError();
67: }
68:
69: }
|