| /******************************************************************************* |
| * Copyright (c) 2000, 2004 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| |
| package org.eclipse.jst.ws.internal.consumption.command.common; |
| |
| import org.eclipse.core.runtime.CoreException; |
| import org.eclipse.wst.server.core.IServer; |
| |
| public class StartTomcatServer extends AbstractStartServer { |
| |
| protected void addJarsToClassPath(IServer tInstance) throws CoreException { |
| |
| } |
| |
| protected void validateRemoteServerPath(IServer server) |
| throws CoreException { |
| } |
| |
| public void stopServer(IServer server) throws CoreException { |
| |
| if (server != null) { |
| |
| if (server.getServerState() != IServer.STATE_STOPPED) { |
| server.synchronousStop(false); |
| } |
| } |
| |
| } |
| |
| } |