Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8fcc6984f1fd5af3141e3b88d02463500535c591 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ecf.server.generic">
<annotation>
      <appInfo>
         <meta.schema plugin="org.eclipse.ecf.server.generic" id="configuration" name="ECF Generic Server Configuration"/>
      </appInfo>
      <documentation>
         This extension point allows ECF generic server instances to be configured via extension point definition.
      </documentation>
   </annotation>

   <element name="extension">
      <complexType>
         <sequence>
            <element ref="connector" minOccurs="1" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="point" type="string" use="required">
            <annotation>
               <documentation>
                  
               </documentation>
            </annotation>
         </attribute>
         <attribute name="id" type="string">
            <annotation>
               <documentation>
                  
               </documentation>
            </annotation>
         </attribute>
         <attribute name="name" type="string">
            <annotation>
               <documentation>
                  
               </documentation>
               <appInfo>
                  <meta.attribute translatable="true"/>
               </appInfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="connector">
      <annotation>
         <documentation>
            A connector defines the port and other information for an ECF generic server to receive connection requests from clients.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="group" minOccurs="1" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="hostname" type="string">
            <annotation>
               <documentation>
                  Defines the hostname expected in the server ID...e.g. &quot;localhost&quot;.  If not specified, default is &quot;localhost&quot;.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="port" type="string">
            <annotation>
               <documentation>
                  The port (e.g. 3282) for the connector to listen on.  If not specified, is set to 3282.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="keepAlive" type="string">
            <annotation>
               <documentation>
                  The timeout associated with the ECF generic server failure detector (in ms).  If not specified, defaults to 30000 (30 seconds).
               </documentation>
            </annotation>
         </attribute>
         <attribute name="discovery" type="boolean">
            <annotation>
               <documentation>
                  The discovery flag determines if the given service is published for discovery via the IDiscoveryService
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="group">
      <annotation>
         <documentation>
            A specific named group for the parent connector.  e.g. &apos;server&apos; in ecftcp://localhost:3282/server
         </documentation>
      </annotation>
      <complexType>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The name for the group in the ID: e.g. &apos;server&apos; in ecftcp://localhost:3282/server
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <annotation>
      <appInfo>
         <meta.section type="since"/>
      </appInfo>
      <documentation>
         1.0.0
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="examples"/>
      </appInfo>
      <documentation>
         The following is an example use of the org.eclipse.ecf.server.generic.configration extension point:

&lt;pre&gt;
   &lt;extension
         point=&quot;org.eclipse.ecf.server.generic.configuration&quot;&gt;
      &lt;connector
            hostname=&quot;localhost&quot;
            keepAlive=&quot;30000&quot;
            port=&quot;3282&quot;&gt;
         &lt;group
               name=&quot;server&quot;&gt;
         &lt;/group&gt;
      &lt;/connector&gt;
   &lt;/extension&gt;
&lt;/pre&gt;

Produces a server with groupID:  ecftcp://localhost:3333/groupName
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="apiInfo"/>
      </appInfo>
      <documentation>
         No public programmatic API
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="implementation"/>
      </appInfo>
      <documentation>
         
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="copyright"/>
      </appInfo>
      <documentation>
         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
      </documentation>
   </annotation>

</schema>

Back to the top