Archive Export Participants Extension Point

Identifier:
org.eclipse.jst.j2ee.archiveExportParticipants

Since:
3.0

Description:
Used for extending the archive export operation.

Configuration Markup:

<!ELEMENT extension (participant+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT participant (runtime-component , factory , enablement?)>

<!ATTLIST participant

id CDATA #REQUIRED>

Registers a single archive export participant.



<!ELEMENT runtime-component EMPTY>

<!ATTLIST runtime-component

type    CDATA #REQUIRED

version CDATA #IMPLIED>

Specifies the type of the runtime component that has to be present in the selected runtime in order for this participant to be applicable.



<!ELEMENT factory EMPTY>

<!ATTLIST factory

class CDATA #REQUIRED>

Registers the factory class that the framework will use for constructing the participant's data model and operation.



Examples:
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.

<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>


Copyright (c) 2005, 2007 BEA Systems, Inc. and others.
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 http://www.eclipse.org/legal/epl-v10.html