KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > test > server > appserver > tomcat5x > Tomcat5xAppServerInstallation


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.tomcat5x;
5
6 import com.tc.test.server.appserver.AbstractAppServerInstallation;
7
8 import java.io.File JavaDoc;
9 import java.net.URL JavaDoc;
10
11 /**
12  * Defines the appserver name used by the installation process.
13  */

14 public final class Tomcat5xAppServerInstallation extends AbstractAppServerInstallation {
15
16   public Tomcat5xAppServerInstallation(URL JavaDoc host, File JavaDoc serverDir, File JavaDoc workingDir, String JavaDoc majorVersion, String JavaDoc minorVersion) throws Exception JavaDoc {
17     super(host, serverDir, workingDir, majorVersion, minorVersion);
18   }
19   
20   public Tomcat5xAppServerInstallation(File JavaDoc home, File JavaDoc workingDir, String JavaDoc majorVersion, String JavaDoc minorVersion) throws Exception JavaDoc {
21     super(home, workingDir, majorVersion, minorVersion);
22   }
23
24   public String JavaDoc serverType() {
25     return "tomcat";
26   }
27 }
28
Popular Tags