# Server Locators

###### Identifier:

org.eclipse.wst.server.core.serverLocators

###### Since:

1.0

###### Description:

This extension point is used to locate new servers on the local or remote machines.

###### Configuration Markup:

<!ELEMENT extension (serverLocator+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance

<!ELEMENT serverLocator EMPTY>

<!ATTLIST serverLocator

id CDATA #REQUIRED

class CDATA #REQUIRED

supportsRemoteHosts CDATA #REQUIRED

typeIds CDATA #REQUIRED>

- id - specifies a unique identifier for this extension point
- class - specifies the fully qualified name of the Java class that implements `ServerLocatorDelegate`. Server locator instances of this type will delegate to instances of this class.
- supportsRemoteHosts - true if the server supports remote server support, and false if only local servers are supported
- typeIds - a comma separated list of server type ids. May include wildcards (*) at the end of an id

###### Examples:

The following is an example of a server locator extension point:

       <extension
             point="org.eclipse.wst.server.core.serverLocators">
          <serverLocator
                id="com.example.locator"
                name="%serverLocatorName"
                description="%serverLocatorDescription"
                class="com.example.ExampleServerLocator"/>
       </extension>

Copyright (c) 2000, 2005 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