KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > test > server > appserver > war > WebXml


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

4 package com.tc.test.server.appserver.war;
5
6 import java.util.Map JavaDoc;
7
8 /**
9  * Represents a WAR compliant web.xml descriptor file.
10  */

11 public interface WebXml extends DescriptorXml {
12
13   // returns URL pattern for this servlet (not a full URL)
14
String JavaDoc addServlet(Class JavaDoc servletClass);
15   void addListener(Class JavaDoc listenerClass);
16   void addFilter(Class JavaDoc filterClass, String JavaDoc pattern, Map JavaDoc initParams);
17 }
18
Popular Tags