| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.jst.j2ee"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.jst.j2ee" id="archiveExportParticipants" name="Archive Export Participants Extension Point"/> |
| </appInfo> |
| <documentation> |
| Used for extending the archive export operation. |
| </documentation> |
| </annotation> |
| |
| <include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/> |
| |
| <element name="extension"> |
| <complexType> |
| <sequence> |
| <element ref="participant" 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="participant"> |
| <annotation> |
| <documentation> |
| Registers a single archive export participant. |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="runtime-component"/> |
| <element ref="factory"/> |
| <element ref="enablement" minOccurs="0" maxOccurs="1"/> |
| </sequence> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The unique identifier for this participant. This should not include the plugin id. Plugin id will be automatically prepended to the supplied id. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="runtime-component"> |
| <annotation> |
| <documentation> |
| Specifies the type of the runtime component that has to be present in the selected runtime in order for this participant to be applicable. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="type" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The type id of the runtime component. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="version" type="string"> |
| <annotation> |
| <documentation> |
| Optional version or a version expression. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="factory"> |
| <annotation> |
| <documentation> |
| Registers the factory class that the framework will use for constructing the participant's data model and operation. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The factory implementation class. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.jst.j2ee.archive.IArchiveExportParticipant"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| 3.0 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| This example registers an export participant that's applicable to runtimes that contain "my.runtime.type" component type and to projects that have either the web or ear project facet. |
| |
| <pre> |
| <extension point="org.eclipse.jst.j2ee.archiveExportParticipants"> |
| <participant id="MyExportParticipant"> |
| <runtime-component type="my.runtime.type" version="[1.0-3.0)"/> |
| <factory class="com.somecorp.MyExportParticipant"/> |
| <enablement> |
| <or> |
| <test |
| forcePluginActivation="true" |
| property="org.eclipse.wst.common.project.facet.core.projectFacet" |
| value="jst.web"/> |
| <test |
| forcePluginActivation="true" |
| property="org.eclipse.wst.common.project.facet.core.projectFacet" |
| value="jst.ear"/> |
| </or> |
| </enablement> |
| </participant> |
| </extension> |
| </pre> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2005, 2007 BEA Systems, Inc. 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> |