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.IconBean;
08: import weblogic.j2ee.descriptor.ParamValueBean;
09:
10: import com.terracotta.session.SessionFilter;
11:
12: public class DSOFilterBean implements FilterBean {
13:
14: public void addDescription(String s) {
15: throw new AssertionError();
16: }
17:
18: public void addDisplayName(String s) {
19: throw new AssertionError();
20: }
21:
22: public IconBean createIcon() {
23: throw new AssertionError();
24: }
25:
26: public ParamValueBean createInitParam() {
27: return null;
28: }
29:
30: public void destroyIcon(IconBean iconbean) {
31: throw new AssertionError();
32: }
33:
34: public void destroyInitParam(ParamValueBean paramvaluebean) {
35: throw new AssertionError();
36: }
37:
38: public String[] getDescriptions() {
39: return new String[] {};
40: }
41:
42: public String[] getDisplayNames() {
43: return new String[] {};
44: }
45:
46: public String getFilterClass() {
47: return SessionFilter.FILTER_CLASS;
48: }
49:
50: public String getFilterName() {
51: return SessionFilter.FILTER_NAME;
52: }
53:
54: public IconBean[] getIcons() {
55: return new IconBean[] {};
56: }
57:
58: public String getId() {
59: throw new AssertionError();
60: }
61:
62: public ParamValueBean[] getInitParams() {
63: return new ParamValueBean[] { new DSOParamValueBean() };
64: }
65:
66: public void removeDescription(String s) {
67: throw new AssertionError();
68: }
69:
70: public void removeDisplayName(String s) {
71: throw new AssertionError();
72: }
73:
74: public void setDescriptions(String[] as) {
75: throw new AssertionError();
76: }
77:
78: public void setDisplayNames(String[] as) {
79: throw new AssertionError();
80: }
81:
82: public void setFilterClass(String s) {
83: throw new AssertionError();
84: }
85:
86: public void setFilterName(String s) {
87: throw new AssertionError();
88: }
89:
90: public void setId(String s) {
91: throw new AssertionError();
92: }
93:
94: }
|