blob: eba573bf3fc115da4304caf5e3f19efdbc8d32c1 [file] [log] [blame]
deboer65ea5072005-02-17 19:14:45 +00001/*******************************************************************************
deboerc82fb0c2007-11-07 20:04:55 +00002 * Copyright (c) 2004, 2007 IBM Corporation and others.
deboerda1df6a2004-12-03 13:35:32 +00003 * All rights reserved. This program and the accompanying materials
deboerdf10c152005-02-17 18:24:46 +00004 * are made available under the terms of the Eclipse Public License v1.0
deboerda1df6a2004-12-03 13:35:32 +00005 * which accompanies this distribution, and is available at
deboerdf10c152005-02-17 18:24:46 +00006 * http://www.eclipse.org/legal/epl-v10.html
deboer65ea5072005-02-17 19:14:45 +00007 *
deboerda1df6a2004-12-03 13:35:32 +00008 * Contributors:
deboerf9423572005-02-17 19:34:29 +00009 * IBM Corporation - Initial API and implementation
deboer65ea5072005-02-17 19:14:45 +000010 *******************************************************************************/
deboer22336012005-03-04 21:23:15 +000011package org.eclipse.jst.server.tomcat.core.internal;
deboerda1df6a2004-12-03 13:35:32 +000012
13import org.eclipse.core.runtime.CoreException;
14import org.eclipse.core.runtime.IProgressMonitor;
15import org.eclipse.debug.core.ILaunch;
deboerda1df6a2004-12-03 13:35:32 +000016/**
17 *
deboerda1df6a2004-12-03 13:35:32 +000018 */
19public interface ITomcatServerBehaviour {
20 /**
21 * Returns the main class that is used to launch the Tomcat server.
22 *
deboer075b6872005-03-14 02:12:32 +000023 * @return the main runtime class
deboerda1df6a2004-12-03 13:35:32 +000024 */
25 public String getRuntimeClass();
26
27 /**
deboerda1df6a2004-12-03 13:35:32 +000028 * Setup for starting the server.
29 *
30 * @param launch ILaunch
31 * @param launchMode String
32 * @param monitor IProgressMonitor
deboer7d78b902005-04-15 21:05:21 +000033 * @throws CoreException if anything goes wrong
deboerda1df6a2004-12-03 13:35:32 +000034 */
35 public void setupLaunch(ILaunch launch, String launchMode, IProgressMonitor monitor) throws CoreException;
36}