ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 1 | <?xml version='1.0' encoding='UTF-8'?>
|
| 2 | <!-- Schema file written by PDE -->
|
| 3 | <schema targetNamespace="org.eclipse.wst.server.core">
|
| 4 | <annotation>
|
| 5 | <appInfo>
|
deboer | 616c3a1 | 2005-03-08 16:28:10 +0000 | [diff] [blame] | 6 | <meta.schema plugin="org.eclipse.wst.server.core" id="internalStartup" name="Startup"/>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 7 | </appInfo>
|
| 8 | <documentation>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 9 | This extension point provides a way to invoke code during the server core plugin startup. Use sparingly.
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 10 | </documentation>
|
| 11 | </annotation>
|
| 12 |
|
| 13 | <element name="extension">
|
| 14 | <complexType>
|
| 15 | <sequence>
|
deboer | f5c03a1 | 2006-11-29 15:15:35 +0000 | [diff] [blame] | 16 | <element ref="startup" minOccurs="1" maxOccurs="unbounded"/>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 17 | </sequence>
|
| 18 | <attribute name="point" type="string" use="required">
|
| 19 | <annotation>
|
| 20 | <documentation>
|
| 21 | a fully qualified identifier of the target extension point
|
| 22 | </documentation>
|
| 23 | </annotation>
|
| 24 | </attribute>
|
| 25 | <attribute name="id" type="string">
|
| 26 | <annotation>
|
| 27 | <documentation>
|
| 28 | an optional identifier of the extension instance
|
| 29 | </documentation>
|
| 30 | </annotation>
|
| 31 | </attribute>
|
| 32 | <attribute name="name" type="string">
|
| 33 | <annotation>
|
| 34 | <documentation>
|
| 35 | an optional name of the extension instance
|
| 36 | </documentation>
|
| 37 | </annotation>
|
| 38 | </attribute>
|
| 39 | </complexType>
|
| 40 | </element>
|
| 41 |
|
| 42 | <element name="startup">
|
| 43 | <annotation>
|
| 44 | <appInfo>
|
| 45 | <meta.element labelAttribute="name"/>
|
| 46 | </appInfo>
|
| 47 | </annotation>
|
| 48 | <complexType>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 49 | <attribute name="id" type="string" use="required">
|
| 50 | <annotation>
|
| 51 | <documentation>
|
| 52 | specifies a unique identifier for this extension point
|
| 53 | </documentation>
|
| 54 | </annotation>
|
| 55 | </attribute>
|
| 56 | <attribute name="class" type="string" use="required">
|
| 57 | <annotation>
|
| 58 | <documentation>
|
deboer | 616c3a1 | 2005-03-08 16:28:10 +0000 | [diff] [blame] | 59 | specifies the fully qualified name of the Java class that extends <samp>org.eclipse.wst.server.core.internal.IStartup</samp>.
|
| 60 |
|
| 61 | This extension point is internal and should not be used by any other plugins.
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 62 | </documentation>
|
| 63 | <appInfo>
|
deboer | 616c3a1 | 2005-03-08 16:28:10 +0000 | [diff] [blame] | 64 | <meta.attribute kind="java" basedOn="org.eclipse.wst.server.core.internal.IStartup"/>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 65 | </appInfo>
|
| 66 | </annotation>
|
| 67 | </attribute>
|
| 68 | </complexType>
|
| 69 | </element>
|
| 70 |
|
| 71 | <annotation>
|
| 72 | <appInfo>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 73 | <meta.section type="since"/>
|
| 74 | </appInfo>
|
| 75 | <documentation>
|
| 76 | <b>This extension point is internal and should not be used by any other plugins.</b>
|
| 77 | </documentation>
|
| 78 | </annotation>
|
| 79 |
|
| 80 | <annotation>
|
| 81 | <appInfo>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 82 | <meta.section type="examples"/>
|
| 83 | </appInfo>
|
| 84 | <documentation>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 85 | The following is an example of a startup extension point:
|
| 86 |
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 87 | <pre>
|
lmandel | eef9611 | 2005-12-09 22:43:22 +0000 | [diff] [blame] | 88 | <extension
|
| 89 | point="org.eclipse.wst.server.core.startup">
|
| 90 | <startup
|
| 91 | id="com.example.startup"
|
| 92 | class="com.example.ExampleStartup"/>
|
| 93 | </extension>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 94 | </pre>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 95 | </documentation>
|
| 96 | </annotation>
|
| 97 |
|
| 98 | <annotation>
|
| 99 | <appInfo>
|
| 100 | <meta.section type="apiInfo"/>
|
| 101 | </appInfo>
|
| 102 | <documentation>
|
lmandel | eef9611 | 2005-12-09 22:43:22 +0000 | [diff] [blame] | 103 | Value of the attribute <b>class</b> must be a fully qualified name of a Java class that extends <code>org.eclipse.wst.server.core.model.IStartup</code> and contains a public 0-arg constructor.
|
| 104 | </documentation>
|
| 105 | </annotation>
|
deboer | f5c03a1 | 2006-11-29 15:15:35 +0000 | [diff] [blame] | 106 |
|
lmandel | eef9611 | 2005-12-09 22:43:22 +0000 | [diff] [blame] | 107 | <annotation>
|
| 108 | <appInfo>
|
| 109 | <meta.section type="implementation"/>
|
| 110 | </appInfo>
|
| 111 | <documentation>
|
| 112 |
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 113 | </documentation>
|
| 114 | </annotation>
|
| 115 |
|
| 116 | <annotation>
|
| 117 | <appInfo>
|
| 118 | <meta.section type="copyright"/>
|
| 119 | </appInfo>
|
| 120 | <documentation>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 121 | Copyright (c) 2000, 2005 IBM Corporation and others.<br>
|
| 122 | All rights reserved. This program and the accompanying materials are made
|
| 123 | available under the terms of the Eclipse Public License v1.0 which accompanies
|
| 124 | this distribution, and is available at
|
deboer | df10c15 | 2005-02-17 18:24:46 +0000 | [diff] [blame] | 125 | <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 126 | </documentation>
|
| 127 | </annotation>
|
| 128 |
|
| 129 | </schema>
|