blob: e2a09f6534b56169cb2b72de8c6d16040c97eadd [file] [log] [blame]
/**********************************************************************
* Copyright (c) 2003, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
 *
* Contributors:
* IBM Corporation - Initial API and implementation
**********************************************************************/
package org.eclipse.wst.server.core.model;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.wst.server.core.IServerLocator;
/**
* A server locator provides the ability to locate or search for additional
* server of a particular type, on a particular host.
* <p>
* This abstract class is intended to be extended only by clients
* to extend the <code>serverLocators</code> extension point.
* </p>
*
* @see IServerLocator
* @since 1.0
*/
public abstract class ServerLocatorDelegate {
/**
* Searches for servers.
* It uses the callback listener to report servers that are found.
*
* @param host a host string conforming to RFC 2732
* @param listener a listener to report status to
* @param monitor a progress monitor, or <code>null</code> if progress
* reporting and cancellation are not desired
* @see IServerLocator.searchForServers(IServerLocator.Listener, IProgressMonitor)
*/
public abstract void searchForServers(String host, IServerLocator.Listener listener, IProgressMonitor monitor);
}