deboer | 85a66fc | 2007-05-09 15:53:51 +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> |
| 6 | <meta.schema plugin="org.eclipse.wst.server.core" id="runtimeFacetComponentProviders" name="Runtime Facet Component Providers"/> |
| 7 | </appInfo> |
| 8 | <documentation> |
| 9 | This extension point is internal and experimental and should not be used by downstream components. |
| 10 | This extension point is used to provide new runtime components to an existing facet runtime. |
| 11 | </documentation> |
| 12 | </annotation> |
| 13 | |
| 14 | <element name="extension"> |
| 15 | <complexType> |
| 16 | <sequence> |
| 17 | <element ref="runtimeComponentProvider" minOccurs="1" maxOccurs="unbounded"/> |
| 18 | </sequence> |
| 19 | <attribute name="point" type="string" use="required"> |
| 20 | <annotation> |
| 21 | <documentation> |
| 22 | a fully qualified identifier of the target extension point |
| 23 | </documentation> |
| 24 | </annotation> |
| 25 | </attribute> |
| 26 | <attribute name="id" type="string"> |
| 27 | <annotation> |
| 28 | <documentation> |
| 29 | an optional identifier of the extension instance |
| 30 | </documentation> |
| 31 | </annotation> |
| 32 | </attribute> |
| 33 | <attribute name="name" type="string"> |
| 34 | <annotation> |
| 35 | <documentation> |
| 36 | an optional name of the extension instance |
| 37 | </documentation> |
| 38 | </annotation> |
| 39 | </attribute> |
| 40 | </complexType> |
| 41 | </element> |
| 42 | |
| 43 | <element name="runtimeComponentProvider"> |
| 44 | <annotation> |
| 45 | <appInfo> |
| 46 | <meta.element labelAttribute="name"/> |
| 47 | </appInfo> |
| 48 | </annotation> |
| 49 | <complexType> |
| 50 | <attribute name="id" type="string" use="required"> |
| 51 | <annotation> |
| 52 | <documentation> |
| 53 | specifies a unique identifier for this extension point |
| 54 | </documentation> |
| 55 | </annotation> |
| 56 | </attribute> |
| 57 | <attribute name="runtimeTypeIds" type="string" use="required"> |
| 58 | <annotation> |
| 59 | <documentation> |
| 60 | a comma separated list of runtime type ids that this provider may support. Used for memory & performance reasons |
| 61 | </documentation> |
| 62 | </annotation> |
| 63 | </attribute> |
| 64 | <attribute name="class" type="string" use="required"> |
| 65 | <annotation> |
| 66 | <documentation> |
| 67 | specifies the fully qualified name of the Java class that extends <samp>RuntimeClasspathProviderDelegate</samp>. |
| 68 | Runtime classpath provider instances of this type will delegate to instances of this class. |
| 69 | </documentation> |
| 70 | <appInfo> |
| 71 | <meta.attribute kind="java" basedOn="org.eclipse.jst.server.core.RuntimeClasspathProviderDelegate"/> |
| 72 | </appInfo> |
| 73 | </annotation> |
| 74 | </attribute> |
| 75 | </complexType> |
| 76 | </element> |
| 77 | |
| 78 | <annotation> |
| 79 | <appInfo> |
| 80 | <meta.section type="since"/> |
| 81 | </appInfo> |
| 82 | <documentation> |
| 83 | 2.0.0 |
| 84 | </documentation> |
| 85 | </annotation> |
| 86 | |
| 87 | <annotation> |
| 88 | <appInfo> |
| 89 | <meta.section type="examples"/> |
| 90 | </appInfo> |
| 91 | <documentation> |
| 92 | The following is an example of a runtime component provider extension point: |
| 93 | |
| 94 | <pre> |
| 95 | <extension point="org.eclipse.wst.server.core.runtimeFacetComponentProviders"> |
| 96 | <runtimeComponentProvider |
| 97 | id="com.example.runtimeComponentProvider" |
| 98 | runtimeTypeIds="com.example.runtime, com.example2.*" |
| 99 | class="com.example.ExampleRuntimeComponentProvider"/> |
| 100 | </extension> |
| 101 | </pre> |
| 102 | </documentation> |
| 103 | </annotation> |
| 104 | |
| 105 | <annotation> |
| 106 | <appInfo> |
| 107 | <meta.section type="apiInfo"/> |
| 108 | </appInfo> |
| 109 | <documentation> |
| 110 | Value of the attribute <b>class</b> must be a fully qualified name of a Java class that extends <b>org.eclipse.wst.server.core.RuntimeFacetClasspathProviderDelegate</b> and contains a public 0-arg constructor. |
| 111 | </documentation> |
| 112 | </annotation> |
| 113 | |
| 114 | <annotation> |
| 115 | <appInfo> |
| 116 | <meta.section type="implementation"/> |
| 117 | </appInfo> |
| 118 | <documentation> |
| 119 | |
| 120 | </documentation> |
| 121 | </annotation> |
| 122 | |
| 123 | <annotation> |
| 124 | <appInfo> |
| 125 | <meta.section type="copyright"/> |
| 126 | </appInfo> |
| 127 | <documentation> |
| 128 | Copyright (c) 2007 IBM Corporation and others.<br> |
| 129 | All rights reserved. This program and the accompanying materials are made |
| 130 | available under the terms of the Eclipse Public License v1.0 which accompanies |
| 131 | this distribution, and is available at |
| 132 | <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| 133 | </documentation> |
| 134 | </annotation> |
| 135 | |
| 136 | </schema> |