KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > spring > integrationtests > framework > WebApplicationServer


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.tctest.spring.integrationtests.framework;
5
6 import org.xml.sax.SAXException JavaDoc;
7
8 import com.meterware.httpunit.WebConversation;
9 import com.meterware.httpunit.WebResponse;
10 import com.tc.test.server.appserver.StandardAppServerParameters;
11
12 import java.io.IOException JavaDoc;
13 import java.net.MalformedURLException JavaDoc;
14
15 public interface WebApplicationServer extends Server {
16
17   public StandardAppServerParameters getServerParameters();
18   
19   public WebApplicationServer addWarDeployment(Deployment warDeployment, String JavaDoc context);
20   
21   public void deployWar(Deployment warDeployment, String JavaDoc context);
22   public void redeployWar(Deployment warDeployment, String JavaDoc context);
23   public void undeployWar(Deployment warDeployment, String JavaDoc context);
24
25   public WebResponse ping(String JavaDoc url) throws MalformedURLException JavaDoc, IOException JavaDoc, SAXException JavaDoc;
26
27   public WebResponse ping(String JavaDoc url, WebConversation wc) throws MalformedURLException JavaDoc, IOException JavaDoc, SAXException JavaDoc;
28
29 }
Popular Tags