# ECF Generic Server Configuration

###### Identifier:

org.eclipse.ecf.server.generic.configuration

###### Since:

1.0.0

###### Description:

This extension point allows ECF generic server instances to be configured via extension point definition.

###### Configuration Markup:

<!ELEMENT extension (connector+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

<!ELEMENT connector (group+)>

<!ATTLIST connector

hostname CDATA #IMPLIED

port CDATA #IMPLIED

keepAlive CDATA #IMPLIED

discovery (true | false)

>

A connector defines the port and other information for an ECF generic server to receive connection requests from clients.

- hostname - Defines the hostname expected in the server ID...e.g. "localhost". If not specified, default is "localhost".
- port - The port (e.g. 3282) for the connector to listen on. If not specified, is set to 3282.
- keepAlive - The timeout associated with the ECF generic server failure detector (in ms). If not specified, defaults to 30000 (30 seconds).
- discovery - The discovery flag determines if the given service is published for discovery via the IDiscoveryService

<!ELEMENT group EMPTY>

<!ATTLIST group

name CDATA #REQUIRED

>

A specific named group for the parent connector. e.g. 'server' in ecftcp://localhost:3282/server

- name - The name for the group in the ID: e.g. 'server' in ecftcp://localhost:3282/server

###### Examples:

The following is an example use of the org.eclipse.ecf.server.generic.configration extension point:

       <extension
             point="org.eclipse.ecf.server.generic.configuration">
          <connector
                hostname="localhost"
                keepAlive="30000"
                port="3282">
             <group
                   name="server">
             </group>
          </connector>
       </extension>

Produces a server with groupID: ecftcp://localhost:3333/groupName

###### API Information:

No public programmatic API

Copyright (c) 2004 Composent, Inc. 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: Composent, Inc. - initial API and implementation