01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.test.server.appserver.deployment;
06:
07: import org.xml.sax.SAXException;
08:
09: import com.meterware.httpunit.WebConversation;
10: import com.meterware.httpunit.WebResponse;
11: import com.tc.test.server.appserver.StandardAppServerParameters;
12:
13: import java.io.File;
14: import java.io.IOException;
15: import java.net.MalformedURLException;
16:
17: public interface WebApplicationServer extends Server {
18:
19: public StandardAppServerParameters getServerParameters();
20:
21: public WebApplicationServer addWarDeployment(
22: Deployment warDeployment, String context);
23:
24: public void deployWar(Deployment warDeployment, String context);
25:
26: public void redeployWar(Deployment warDeployment, String context);
27:
28: public void undeployWar(Deployment warDeployment, String context);
29:
30: public WebResponse ping(String url) throws MalformedURLException,
31: IOException, SAXException;
32:
33: public WebResponse ping(String url, WebConversation wc)
34: throws MalformedURLException, IOException, SAXException;
35:
36: public int getPort();
37:
38: public File getWorkingDirectory();
39:
40: }
|