<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="client"
    nsURI="client.xmi" nsPrefix="org.eclipse.jst.j2ee.client">
  <eClassifiers xsi:type="ecore:EClass" name="ApplicationClient" eSuperTypes="common.ecore#//CompatibilityDescriptionGroup">
    <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
      <details key="documentation" value="The application-client element is the root element of an application client deployment descriptor.  The application client deployment descriptor describes the EJB components and external resources referenced by the application client.&#xD;&#xA;"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="version" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="@version J2EE1.4&#xD;&#xA;The required value for the version is 1.4."/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="resourceRefs" upperBound="-1"
        eType="ecore:EClass common.ecore#//ResourceRef" containment="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Contains declarations of the application clients's references to an external resources."/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="environmentProps" upperBound="-1"
        eType="ecore:EClass common.ecore#//EnvEntry" containment="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="The env-entry element contains the declaration of an application client's environment entries. Each declaration consists of an optional description, the name of the environment entry, and an optional value."/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="ejbReferences" upperBound="-1"
        eType="ecore:EClass common.ecore#//EjbRef" containment="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Contains a list of ejb-ref elements used for the declaration of a reference to an enterprise&#xD;&#xA;bean's home. "/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="resourceEnvRefs" upperBound="-1"
        eType="ecore:EClass common.ecore#//ResourceEnvRef" containment="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="The resource-env-ref element contains a declaration of an application client's reference to an administered object associated with a resource in the application client's environment.  It consists of an optional&#xD;&#xA;description, the resource environment reference name, and an indication of the resource environment reference type expected by the application client code.&#xD;&#xA;&#xD;&#xA;Used in: application-client&#xD;&#xA;&#xD;&#xA;Example:&#xD;&#xA;&#xD;&#xA;&lt;resource-env-ref>&#xD;&#xA;    &lt;resource-env-ref-name>jms/StockQueue&lt;/resource-env-ref-name>&#xD;&#xA;    &lt;resource-env-ref-type>javax.jms.Queue&lt;/resource-env-ref-type>&#xD;&#xA;&lt;/resource-env-ref>&#xD;&#xA;"/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="callbackHandler" eType="ecore:EClass ../../org.eclipse.jem/model/java.ecore#//JavaClass">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="A class provided by the application.  The class must have a no args constructor and must implement the javax.security.auth.callback.CallbackHandler interface.  The class will be instantiated by the application client container and used by the container to collect authentication information from the user."/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="serviceRefs" upperBound="-1"
        eType="ecore:EClass wsclient.ecore#//ServiceRef" containment="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="@version J2EE1.4"/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="messageDestinationRefs"
        upperBound="-1" eType="ecore:EClass common.ecore#//MessageDestinationRef"
        containment="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="@version J2EE1.4&#xD;&#xA;The message-destination-ref-name element specifies the&#xD;&#xA;    name of a message destination reference; its value is&#xD;&#xA;    the message destination reference name used in the&#xD;&#xA;    application client code. The name is a JNDI name&#xD;&#xA;    relative to the java:comp/env context and must be unique&#xD;&#xA;    within an application client."/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="messageDestinations" upperBound="-1"
        eType="ecore:EClass common.ecore#//MessageDestination" containment="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="@version J2EE1.4"/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="ResAuthApplicationType">
    <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
      <details key="documentation" value="Application=0&#xD;&#xA;Container=1"/>
    </eAnnotations>
    <eLiterals name="Application"/>
    <eLiterals name="Container" value="1"/>
  </eClassifiers>
</ecore:EPackage>
