diff options
Diffstat (limited to 'plugins/org.eclipse.jem.proxy/schema/extensions.exsd')
-rw-r--r-- | plugins/org.eclipse.jem.proxy/schema/extensions.exsd | 157 |
1 files changed, 0 insertions, 157 deletions
diff --git a/plugins/org.eclipse.jem.proxy/schema/extensions.exsd b/plugins/org.eclipse.jem.proxy/schema/extensions.exsd deleted file mode 100644 index 38dc8db58..000000000 --- a/plugins/org.eclipse.jem.proxy/schema/extensions.exsd +++ /dev/null @@ -1,157 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!-- Schema file written by PDE --> -<schema targetNamespace="org.eclipse.jem.proxy"> -<annotation> - <appInfo> - <meta.schema plugin="org.eclipse.jem.proxy" id="extensions" name="Proxy Extension Registration Contributors"/> - </appInfo> - <documentation> - This extension point is used to supply extension registrations for proxy support. You can supply an extension registration for a specific classpath container or for a plugin. -<p> -Just after the registry has been started and before any contributions to the registry can be made, the extension registrations for the given registry type (such as "org.eclipse.jem.REMOTE") for any paths/plugins/containers that have that match will be executed. These are used to do extension registrations (such as BaseProxyFactroyRegistry.registerBeanTypeProxyFactory(String packageName, IBeanTypeProxyFactory aFactory)). These registrations shouldn't do any actual proxy calls because at this time not all of the extensions had been run yet and it may accidently reference a package that should have an extension factory on it, but that factory has not yet been registered. Instead the contributor extension point should be used for that because at that time all of the extensions will be registered. -<p> -The way extension registrations work is that when a proxy vm is started, it finds all of the extensions of this extension point will be searched for those have the same container id and registry type id, and if so they will be called as an extension registration. -<p> -If a plugin is in the classpath of the project (in other words the project is PDE plugin development project and requires a plugin) then the extension registration with the given plugin id will be called. -<p> -Both container and plugin can be specified, but at least one of them must be specified. If both are specified, then this entry will be used if either the container or the plugin is found in the classpath. - </documentation> - </annotation> - - <element name="extension"> - <complexType> - <sequence> - <element ref="registration" minOccurs="0" maxOccurs="unbounded"/> - </sequence> - <attribute name="point" type="string" use="required"> - <annotation> - <documentation> - a fully qualified identifier of the target extension point - </documentation> - </annotation> - </attribute> - <attribute name="id" type="string"> - <annotation> - <documentation> - an optional identifier of the extension instance - </documentation> - </annotation> - </attribute> - <attribute name="name" type="string"> - <annotation> - <documentation> - an optional name of the extension instance - </documentation> - </annotation> - </attribute> - </complexType> - </element> - - <element name="registration"> - <annotation> - <appInfo> - <meta.element labelAttribute="class"/> - </appInfo> - <documentation> - Proxy Extension factories registration contributor. Used to contribute the factory extensions based upon the registry type (e.g. "org.eclipse.jem.REMOTE" for remote vm registries) depending upon the container or plugin path. - </documentation> - </annotation> - <complexType> - <attribute name="registryType" type="string" use="required"> - <annotation> - <documentation> - The type of the registry this extensionRegistration is for, such as "org.eclipse.jem.REMOTE" for the remote vm registry type. - </documentation> - </annotation> - </attribute> - <attribute name="container" type="string"> - <annotation> - <documentation> - extension registration is for a container. The value is the container id (e.g. <b>"JRE_CONTAINER"</b>). This will match "/JRE_CONTAINER" or "/JRE_CONTAINER/...". Or <b>"JRE_CONTAINER/XYZ"</b> would match "/JRE_CONTAINER/XYZ/...". -<p> -You can also use a regular expression. An expression such as <b>"SWT_CONTAINER/.*/JFACE"</b> will match "/SWT_CONTAINER/PDE/JFACE" but will not match "/SWT_CONTAINER". - </documentation> - </annotation> - </attribute> - <attribute name="plugin" type="string"> - <annotation> - <documentation> - extension registration is for a plugin. The value is the plugin id (e.g. "org.eclipse.swt"). - </documentation> - </annotation> - </attribute> - <attribute name="class" type="string" use="required"> - <annotation> - <documentation> - the class that implements this extension registration. The class must implement IExtensionRegistration. - </documentation> - <appInfo> - <meta.attribute kind="java" basedOn="org.eclipse.jem.internal.proxy.core.IExtensionRegistration"/> - </appInfo> - </annotation> - </attribute> - </complexType> - </element> - - <annotation> - <appInfo> - <meta.section type="since"/> - </appInfo> - <documentation> - 1.1.0 - </documentation> - </annotation> - - <annotation> - <appInfo> - <meta.section type="examples"/> - </appInfo> - <documentation> - The following is an example of a contributor: - -<p> -<pre> - <extension point="org.eclipse.jem.proxy.extensions"> - <contributor - registryType="org.eclipse.jem.REMOTE" - class="com.example.ExtensionRegistrationImplementation" - container="MY_CONTAINER"> - </contributor> - </extension> -</pre> -</p> - </documentation> - </annotation> - - <annotation> - <appInfo> - <meta.section type="apiInfo"/> - </appInfo> - <documentation> - The <samp>class</samp> attribute must be a fully-qualified class that implements the <samp>org.eclipse.jem.internal.proxy.core.IExtensionRegistration</samp> interface for extension registration. - </documentation> - </annotation> - - <annotation> - <appInfo> - <meta.section type="implementation"/> - </appInfo> - <documentation> - - </documentation> - </annotation> - - <annotation> - <appInfo> - <meta.section type="copyright"/> - </appInfo> - <documentation> - Copyright (c) 2004 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 v1.0 which accompanies -this distribution, and is available at -<a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> - </documentation> - </annotation> - -</schema> |