⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 javaee_5.xsd

📁 java servlet2.5 源码,对于学习servlet机制的人大为有用.
💻 XSD
📖 第 1 页 / 共 5 页
字号:
              <persistence-context-ref-name>myPersistenceContext                </persistence-context-ref-name>              <persistence-unit-name>PersistenceUnit1                </persistence-unit-name>              <persistence-context-type>Extended</persistence-context-type>            </persistence-context-ref>	  ]]>      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="description"		   type="javaee:descriptionType"		   minOccurs="0"		   maxOccurs="unbounded"/>      <xsd:element name="persistence-context-ref-name"		   type="javaee:jndi-nameType">	<xsd:annotation>	  <xsd:documentation>	    The persistence-context-ref-name element specifies	    the name of a persistence context reference; its	    value is the environment entry name used in	    Deployment Component code.  The name is a JNDI name	    relative to the java:comp/env context.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:element name="persistence-unit-name"		   type="javaee:string"		   minOccurs="0">        <xsd:annotation>	  <xsd:documentation>            The Application Assembler(or BeanProvider) may use the            following syntax to avoid the need to rename persistence            units to have unique names within a Java EE application.            The Application Assembler specifies the pathname of the            root of the persistence.xml file for the referenced            persistence unit and appends the name of the persistence            unit separated from the pathname by #. The pathname is            relative to the referencing application component jar file.            In this manner, multiple persistence units with the same            persistence unit name may be uniquely identified when the            Application Assembler cannot change persistence unit names.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:element name="persistence-context-type"		   type="javaee:persistence-context-typeType"		   minOccurs="0"/>      <xsd:element name="persistence-property"		   type="javaee:propertyType"		   minOccurs="0"		   maxOccurs="unbounded">        <xsd:annotation>	  <xsd:documentation>            Used to specify properties for the container or persistence            provider.  Vendor-specific properties may be included in            the set of properties.  Properties that are not recognized            by a vendor must be ignored.  Entries that make use of the            namespace javax.persistence and its subnamespaces must not            be used for vendor-specific properties.  The namespace            javax.persistence is reserved for use by the specification.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:group ref="javaee:resourceGroup"/>    </xsd:sequence>    <xsd:attribute name="id" type="xsd:ID"/>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="persistence-context-typeType">    <xsd:annotation>      <xsd:documentation>	The persistence-context-typeType specifies the transactional	nature of a persistence context reference.	The value of the persistence-context-type element must be	one of the following:	    Transaction            Extended      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:restriction base="javaee:string">	<xsd:enumeration value="Transaction"/>	<xsd:enumeration value="Extended"/>      </xsd:restriction>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="persistence-unit-refType">    <xsd:annotation>      <xsd:documentation>	<![CDATA[	  The persistence-unit-ref element contains a declaration	  of Deployment Component's reference to a persistence unit	  associated within a Deployment Component's	  environment. It consists of:		  - an optional description		  - the persistence unit reference name		  - an optional persistence unit name.  If not specified,                    the default persistence unit is assumed.		  - optional injection targets	  Examples:            <persistence-unit-ref>              <persistence-unit-ref-name>myPersistenceUnit              </persistence-unit-ref-name>            </persistence-unit-ref>            <persistence-unit-ref>              <persistence-unit-ref-name>myPersistenceUnit                </persistence-unit-ref-name>              <persistence-unit-name>PersistenceUnit1                </persistence-unit-name>            </persistence-unit-ref>	  ]]>      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="description"		   type="javaee:descriptionType"		   minOccurs="0"		   maxOccurs="unbounded"/>      <xsd:element name="persistence-unit-ref-name"		   type="javaee:jndi-nameType">	<xsd:annotation>	  <xsd:documentation>	    The persistence-unit-ref-name element specifies	    the name of a persistence unit reference; its	    value is the environment entry name used in	    Deployment Component code.  The name is a JNDI name	    relative to the java:comp/env context.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:element name="persistence-unit-name"		   type="javaee:string"		   minOccurs="0">        <xsd:annotation>	  <xsd:documentation>            The Application Assembler(or BeanProvider) may use the            following syntax to avoid the need to rename persistence            units to have unique names within a Java EE application.            The Application Assembler specifies the pathname of the            root of the persistence.xml file for the referenced            persistence unit and appends the name of the persistence            unit separated from the pathname by #. The pathname is            relative to the referencing application component jar file.            In this manner, multiple persistence units with the same            persistence unit name may be uniquely identified when the            Application Assembler cannot change persistence unit names.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:group ref="javaee:resourceGroup"/>    </xsd:sequence>    <xsd:attribute name="id" type="xsd:ID"/>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="propertyType">    <xsd:annotation>      <xsd:documentation>	Specifies a name/value pair.      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="name"		   type="javaee:xsdStringType">      </xsd:element>      <xsd:element name="value"		   type="javaee:xsdStringType">      </xsd:element>    </xsd:sequence>    <xsd:attribute name="id" type="xsd:ID"/>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="remoteType">    <xsd:annotation>      <xsd:documentation>	<![CDATA[	  The remote element contains the fully-qualified name	  of the enterprise bean's remote interface.	  Example:	      <remote>com.wombat.empl.EmployeeService</remote>	  ]]>      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:restriction base="javaee:fully-qualified-classType"/>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="res-authType">    <xsd:annotation>      <xsd:documentation>	The res-authType specifies whether the Deployment Component	code signs on programmatically to the resource manager, or	whether the Container will sign on to the resource manager	on behalf of the Deployment Component. In the latter case,	the Container uses information that is supplied by the	Deployer.	The value must be one of the two following:	    Application	    Container      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:restriction base="javaee:string">	<xsd:enumeration value="Application"/>	<xsd:enumeration value="Container"/>      </xsd:restriction>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="res-sharing-scopeType">    <xsd:annotation>      <xsd:documentation>	The res-sharing-scope type specifies whether connections	obtained through the given resource manager connection	factory reference can be shared. The value, if specified,	must be one of the two following:	    Shareable	    Unshareable	The default value is Shareable.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:restriction base="javaee:string">	<xsd:enumeration value="Shareable"/>	<xsd:enumeration value="Unshareable"/>      </xsd:restriction>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="resource-env-refType">    <xsd:annotation>      <xsd:documentation>	<![CDATA[	  The resource-env-refType is used to define	  resource-env-type elements.  It contains a declaration of a	  Deployment Component's reference to an administered object	  associated with a resource in the Deployment Component's	  environment.  It consists of an optional description, the	  resource environment reference name, and an optional	  indication of the resource environment reference type	  expected by the Deployment Component code.	  It also includes optional elements to define injection of	  the named resource into fields or JavaBeans properties.	  The resource environment type must be supplied unless an	  injection target is specified, in which case the type	  of the target is used.  If both are specified, the type	  must be assignment compatible with the type of the injection	  target.	  Example:	  <resource-env-ref>	      <resource-env-ref-name>jms/StockQueue	      </resource-env-ref-name>	      <resource-env-ref-type>javax.jms.Queue	      </resource-env-ref-type>	  </resource-env-ref>	  ]]>      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="description"		   type="javaee:descriptionType"		   minOccurs="0"		   maxOccurs="unbounded"/>      <xsd:element name="resource-env-ref-name"		   type="javaee:jndi-nameType">	<xsd:annotation>	  <xsd:documentation>	    The resource-env-ref-name element specifies the name	    of a resource environment reference; its value is	    the environment entry name used in	    the Deployment Component code.  The name is a JNDI	    name relative to the java:comp/env context and must	    be unique within a Deployment Component.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:element name="resource-env-ref-type"		   type="javaee:fully-qualified-classType"		   minOccurs="0">	<xsd:annotation>	  <xsd:documentation>	    The resource-env-ref-type element specifies the type	    of a resource environment reference.  It is the	    fully qualified name of a Java language class or	    interface.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:group ref="javaee:resourceGroup"/>    </xsd:sequence>    <xsd:attribute name="id" type="xsd:ID"/>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="resource-refType">    <xsd:annotation>      <xsd:documentation>	<![CDATA[	  The resource-refType contains a declaration of a	  Deployment Component's reference to an external resource. It	  consists of an optional description, the resource manager	  connection factory reference name, an optional indication of	  the resource manager connection factory type expected by the	  Deployment Component code, an optional type of authentication	  (Application or Container), and an optional specification of	  the shareability of connections obtained from the resource	  (Shareable or Unshareable).	  It also includes optional elements to define injection of	  the named resource into fields or JavaBeans properties.	  The connection factory type must be supplied unless an	  injection target is specified, in which case the type	  of the target is used.  If both are specified, the type	  must be assignment compatible with the type of the injection	  target.	  Example:	  <resource-ref>	      <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>	      <res-type>javax.sql.DataSource</res-type>	      <res-auth>Container</res-auth>	      <res-sharing-scope>Shareable</res-sharing-scope>	  </resource-ref>	  ]]>      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="description"		   type="javaee:descriptionType"		   minOccurs="0"		   maxOccurs="unbounded"/>      <xsd:element name="res-ref-name"		   type="javaee:jndi-nameType">	<xsd:annotation>	  <xsd:documentation>	    The res-ref-name element specifies the name of a	    resource manager connection factory reference.	    The name is a JNDI name relative to the

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -