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

📄 ejb-jar_2_1.xsd

📁 jsp开发 com.objectlearn.jdt.j2ee_3.0.1
💻 XSD
📖 第 1 页 / 共 5 页
字号:
	      component.	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:message-destination-ref"/>	  <xsd:field    xpath="j2ee:message-destination-ref-name"/>	</xsd:unique>	<xsd:unique name="session-res-ref-name-uniqueness">	  <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 java:comp/env context.	      The name must be unique within an component.	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:resource-ref"/>	  <xsd:field    xpath="j2ee:res-ref-name"/>	</xsd:unique>	<xsd:unique name="session-env-entry-name-uniqueness">	  <xsd:annotation>	    <xsd:documentation>	      The env-entry-name element contains the name of a	      component's environment entry.  The name is a JNDI	      name relative to the java:comp/env context.  The	      name must be unique within an component.	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:env-entry"/>	  <xsd:field    xpath="j2ee:env-entry-name"/>	</xsd:unique>      </xsd:element>      <xsd:element name="entity"		   type="j2ee:entity-beanType">	<xsd:unique name="entity-ejb-local-ref-name-uniqueness">	  <xsd:annotation>	    <xsd:documentation>	      The ejb-ref-name element contains the name of	      an EJB reference. The EJB reference is an entry in	      the component's environment and is relative to the	      java:comp/env context.  The name must be unique within	      the component.	      It is recommended that name be prefixed with "ejb/".	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:ejb-local-ref"/>	  <xsd:field    xpath="j2ee:ejb-ref-name"/>	</xsd:unique>	<xsd:unique name="entity-ejb-ref-name-uniqueness">	  <xsd:annotation>	    <xsd:documentation>	      The ejb-ref-name element contains the name of an EJB	      reference. The EJB reference is an entry in the	      component's environment and is relative to the	      java:comp/env context. The name must be unique	      within the component.	      It is recommended that name is prefixed with "ejb/".	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:ejb-ref"/>	  <xsd:field    xpath="j2ee:ejb-ref-name"/>	</xsd:unique>	<xsd:unique name="entity-resource-env-ref-uniqueness">	  <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 component	      code. The name is a JNDI name relative to the	      java:comp/env context and must be unique within an	      component.	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:resource-env-ref"/>	  <xsd:field    xpath="j2ee:resource-env-ref-name"/>	</xsd:unique>	<xsd:unique name="entity-message-destination-ref-uniqueness">	  <xsd:annotation>	    <xsd:documentation>	      The message-destination-ref-name element specifies the name	      of a message destination reference; its value is	      the message destination reference name used in the component	      code. The name is a JNDI name relative to the	      java:comp/env context and must be unique within an	      component.	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:message-destination-ref"/>	  <xsd:field    xpath="j2ee:message-destination-ref-name"/>	</xsd:unique>	<xsd:unique name="entity-res-ref-name-uniqueness">	  <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 java:comp/env context.	      The name must be unique within an component.	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:resource-ref"/>	  <xsd:field    xpath="j2ee:res-ref-name"/>	</xsd:unique>	<xsd:unique name="entity-env-entry-name-uniqueness">	  <xsd:annotation>	    <xsd:documentation>	      The env-entry-name element contains the name of a	      component's environment entry.  The name is a JNDI	      name relative to the java:comp/env context.  The	      name must be unique within an component.	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:env-entry"/>	  <xsd:field    xpath="j2ee:env-entry-name"/>	</xsd:unique>      </xsd:element>      <xsd:element name="message-driven"		   type="j2ee:message-driven-beanType">	<xsd:unique name="messaged-ejb-local-ref-name-uniqueness">	  <xsd:annotation>	    <xsd:documentation>	      The ejb-ref-name element contains the name of	      an EJB reference. The EJB reference is an entry in	      the component's environment and is relative to the	      java:comp/env context.  The name must be unique within	      the component.	      It is recommended that name be prefixed with "ejb/".	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:ejb-local-ref"/>	  <xsd:field    xpath="j2ee:ejb-ref-name"/>	</xsd:unique>	<xsd:unique name="messaged-ejb-ref-name-uniqueness">	  <xsd:annotation>	    <xsd:documentation>	      The ejb-ref-name element contains the name of an EJB	      reference. The EJB reference is an entry in the	      component's environment and is relative to the	      java:comp/env context. The name must be unique	      within the component.	      It is recommended that name is prefixed with "ejb/".	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:ejb-ref"/>	  <xsd:field    xpath="j2ee:ejb-ref-name"/>	</xsd:unique>	<xsd:unique name="messaged-resource-env-ref-uniqueness">	  <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 component	      code. The name is a JNDI name relative to the	      java:comp/env context and must be unique within an	      component.	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:resource-env-ref"/>	  <xsd:field    xpath="j2ee:resource-env-ref-name"/>	</xsd:unique>	<xsd:unique name="messaged-message-destination-ref-uniqueness">	  <xsd:annotation>	    <xsd:documentation>	      The message-destination-ref-name element specifies the name	      of a message destination reference; its value is	      the message destination reference name used in the component	      code. The name is a JNDI name relative to the	      java:comp/env context and must be unique within an	      component.	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:message-destination-ref"/>	  <xsd:field    xpath="j2ee:message-destination-ref-name"/>	</xsd:unique>	<xsd:unique name="messaged-res-ref-name-uniqueness">	  <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 java:comp/env context.	      The name must be unique within an component.	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:resource-ref"/>	  <xsd:field    xpath="j2ee:res-ref-name"/>	</xsd:unique>	<xsd:unique name="messaged-env-entry-name-uniqueness">	  <xsd:annotation>	    <xsd:documentation>	      The env-entry-name element contains the name of a	      component's environment entry.  The name is a JNDI	      name relative to the java:comp/env context.  The	      name must be unique within an component.	    </xsd:documentation>	  </xsd:annotation>	  <xsd:selector xpath="j2ee:env-entry"/>	  <xsd:field    xpath="j2ee:env-entry-name"/>	</xsd:unique>      </xsd:element>    </xsd:choice>    <xsd:attribute name="id" type="xsd:ID"/>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="entity-beanType">    <xsd:annotation>      <xsd:documentation>	The entity-beanType declares an entity bean. The declaration	consists of:	    - an optional description	    - an optional display name	    - an optional icon element that contains a small and a large	      icon file name	    - a unique name assigned to the enterprise bean	      in the deployment descriptor	    - the names of the entity bean's remote home	      and remote interfaces, if any	    - the names of the entity bean's local home and local	      interfaces, if any	    - the entity bean's implementation class	    - the entity bean's persistence management type	    - the entity bean's primary key class name	    - an indication of the entity bean's reentrancy	    - an optional specification of the	      entity bean's cmp-version	    - an optional specification of the entity bean's	      abstract schema name	    - an optional list of container-managed fields	    - an optional specification of the primary key	      field	    - an optional declaration of the bean's environment	      entries	    - an optional declaration of the bean's EJB	      references	    - an optional declaration of the bean's local	      EJB references	    - an optional declaration of the bean's web	      service references	    - an optional declaration of the security role	      references	    - an optional declaration of the security identity	      to be used for the execution of the bean's methods	    - an optional declaration of the bean's	      resource manager connection factory references	    - an optional declaration of the bean's	      resource environment references	    - an optional declaration of the bean's message	      destination references	    - an optional set of query declarations	      for finder and select methods for an entity	      bean with cmp-version 2.x.	The optional abstract-schema-name element must be specified	for an entity bean with container-managed persistence and	cmp-version 2.x.	The optional primkey-field may be present in the descriptor	if the entity's persistence-type is Container.	The optional cmp-version element may be present in the	descriptor if the entity's persistence-type is Container. If	the persistence-type is Container and the cmp-version	element is not specified, its value defaults to 2.x.	The optional home and remote elements must be specified if	the entity bean cmp-version is 1.x.	The optional home and remote elements must be specified if	the entity bean has a remote home and remote interface.	The optional local-home and local elements must be specified	if the entity bean has a local home and local interface.	Either both the local-home and the local elements or both	the home and the remote elements must be specified.	The optional query elements must be present if the	persistence-type is Container and the cmp-version is 2.x and	query methods other than findByPrimaryKey have been defined	for the entity bean.	The other elements that are optional are "optional" in the	sense that they are omitted if the lists represented by them	are empty.	At least one cmp-field element must be present in the	descriptor if the entity's persistence-type is Container and	the cmp-version is 1.x, and none must not be present if the	entity's persistence-type is Bean.      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:group ref="j2ee:descriptionGroup"/>      <xsd:element name="ejb-name"		   type="j2ee:ejb-nameType"/>      <xsd:element name="home"		   type="j2ee:homeType"		   minOccurs="0"/>      <xsd:element name="remote"		   type="j2ee:remoteType"		   minOccurs="0"/>      <xsd:element name="local-home"		   type="j2ee:local-homeType"		   minOccurs="0"/>      <xsd:element name="local"		   type="j2ee:localType"		   minOccurs="0"/>      <xsd:element name="ejb-class"		   type="j2ee:ejb-classType"/>      <xsd:element name="persistence-type"		   type="j2ee:persistence-typeType"/>      <xsd:element name="prim-key-class"		   type="j2ee:fully-qualified-classType">	<xsd:annotation>	  <xsd:documentation>	    The prim-key-class element contains the	    fully-qualified name of an	    entity bean's primary key class.	    If the definition of the primary key class is	    deferred to deployment time, the prim-key-class	    element should specify java.lang.Object.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:element name="reentrant"		   type="j2ee:true-falseType">	<xsd:annotation>	  <xsd:documentation>	    The reentrant element specifies whether an entity	    bean is reentrant or not.	    The reentrant element must be one of the two	    following: true or false	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:element name="cmp-version"		   type="j2ee:cmp-versionType"		   minOccurs="0"/>      <xsd:element name="abstract-schema-name"		   type="j2ee:java-identifierType"		   minOccurs="0">	<xsd:annotation>	  <xsd:documentation>	    The abstract-schema-name element specifies the name	    of the abstract schema type of an entity bean with	    cmp-version 2.x. It is used in EJB QL queries.	    For example, the abstract-schema-name for an entity	    bean whose local interface is	    com.acme.commerce.Order might be Order.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:element name="cmp-field"		   type="j2ee:cmp-fieldType"		   minOccurs="0"		   maxOccurs="unbounded"/>      <xsd:element name="primkey-field"		   type="j2ee:string"		   minOccurs="0">	<xsd:annotation>

⌨️ 快捷键说明

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