| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <HTML> |
| <HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <title>Runtime Types</title> |
| <style type="text/css">@import url("../../book.css");</style> |
| <style type="text/css">@import url("../../schema.css");</style> |
| </HEAD> |
| <BODY> |
| <H1 style="text-align:center">Runtime Types</H1> |
| <p></p> |
| <h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.wst.server.core.runtimeTypes<p></p> |
| <h6 class="CaptionFigColumn SchemaHeader">Since: </h6>1.0 |
| <p></p> |
| |
| <h6 class="CaptionFigColumn SchemaHeader">Description: </h6>This extension point is used to provide a new runtime type.<p></p> |
| <h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6> |
| <p></p> |
| <p class="code SchemaDtd"><!ELEMENT <a name="e.extension">extension</a> (<a href="#e.runtimeType">runtimeType</a>+)></p> |
| <p class="code SchemaDtd"><!ATTLIST extension</p> |
| <p class="code SchemaDtdAttlist">point CDATA #REQUIRED<p class="code SchemaDtdAttlist">id CDATA #IMPLIED<p class="code SchemaDtdAttlist">name CDATA #IMPLIED></p> |
| <p></p> |
| <ul class="ConfigMarkupAttlistDesc"> |
| <li><b>point</b> - a fully qualified identifier of the target extension point</li> |
| <li><b>id</b> - an optional identifier of the extension instance</li> |
| <li><b>name</b> - an optional name of the extension instance</li> |
| </ul> |
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.runtimeType">runtimeType</a> (<a href="#e.moduleType">moduleType</a>*)></p> |
| <p class="code SchemaDtd"><!ATTLIST runtimeType</p> |
| <p class="code SchemaDtdAttlist">id CDATA #REQUIRED<p class="code SchemaDtdAttlist">name CDATA #REQUIRED<p class="code SchemaDtdAttlist">description CDATA #REQUIRED<p class="code SchemaDtdAttlist">vendor CDATA #IMPLIED<p class="code SchemaDtdAttlist">version CDATA #IMPLIED<p class="code SchemaDtdAttlist">vendorId CDATA #IMPLIED<p class="code SchemaDtdAttlist">class CDATA #IMPLIED<p class="code SchemaDtdAttlist">facetRuntimeComponent CDATA #IMPLIED<p class="code SchemaDtdAttlist">facetRuntimeVersion CDATA #IMPLIED></p> |
| <p></p> |
| <ul class="ConfigMarkupAttlistDesc"> |
| <li><b>id</b> - specifies a unique identifier for this extension point</li> |
| <li><b>name</b> - a translatable name used to identify the runtime type</li> |
| <li><b>description</b> - a translatable description of the runtime type</li> |
| <li><b>vendor</b> - a translatable vendor name</li> |
| <li><b>version</b> - a translatable version number</li> |
| <li><b>vendorId</b> - an id used to identify the vendor</li> |
| <li><b>class</b> - specifies the fully qualified name of the Java class that extends <samp>RuntimeDelegate</samp>. |
| Runtime instances of this type will delegate to instances of this class. Delegates must also have a public 0-arg constructor.</li> |
| <li><b>facetRuntimeComponent</b> - </li> |
| <li><b>facetRuntimeVersion</b> - </li> |
| </ul> |
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.moduleType">moduleType</a> EMPTY></p> |
| <p class="code SchemaDtd"><!ATTLIST moduleType</p> |
| <p class="code SchemaDtdAttlist">types CDATA #REQUIRED<p class="code SchemaDtdAttlist">versions CDATA #REQUIRED></p> |
| <p></p> |
| <ul class="ConfigMarkupAttlistDesc"> |
| <li><b>types</b> - a comma separated list of the module types that this runtime supports</li> |
| <li><b>versions</b> - a comma separated list of the module versions that this runtime supports</li> |
| </ul> |
| <br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6>The following is an example of a runtime type extension point: |
| |
| <pre class="Example"><span class="code SchemaTag"> |
| <extension |
| point=</span><span class="code SchemaCstring">"org.eclipse.wst.server.core.runtimeTypes"</span><span class="code SchemaTag">> |
| <runtimeType |
| id=</span><span class="code SchemaCstring">"com.example.runtime"</span><span class="code SchemaTag"> |
| name=</span><span class="code SchemaCstring">"%runtimeTypeName"</span><span class="code SchemaTag"> |
| description=</span><span class="code SchemaCstring">"%runtimeTypeDescription"</span><span class="code SchemaTag"> |
| vendor=</span><span class="code SchemaCstring">"%runtimeTypeVendor"</span><span class="code SchemaTag"> |
| version=</span><span class="code SchemaCstring">"1.0"</span><span class="code SchemaTag"> |
| class=</span><span class="code SchemaCstring">"com.example.ExampleRuntimeDelegate"</span><span class="code SchemaTag">> |
| <moduleType |
| types=</span><span class="code SchemaCstring">"j2ee.web"</span><span class="code SchemaTag"> |
| versions=</span><span class="code SchemaCstring">"1.2, 1.3, 1.4"</span><span class="code SchemaTag">/> |
| </runtimeType> |
| </extension> |
| </span></pre> |
| <p></p> |
| |
| <br> |
| <p class="note SchemaCopyright"> |
| Copyright (c) 2000, 2005 IBM Corporation and others.<br> |
| All rights reserved. This program and the accompanying materials are made |
| available under the terms of the Eclipse Public License 2.0 which accompanies |
| this distribution, and is available at |
| <a href="https://www.eclipse.org/legal/epl-2.0/">https://www.eclipse.org/legal/epl-2.0/</a> |
| |
| </p> |
| </BODY> |
| </HTML> |