📄 j2ee_1_4.xsd
字号:
<![CDATA[ The homeType defines the fully-qualified name of an enterprise bean's home interface. Example: <home>com.aardvark.payroll.PayrollHome</home> ]]> </xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:restriction base="j2ee:fully-qualified-classType"/> </xsd:simpleContent> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="iconType"> <xsd:annotation> <xsd:documentation> The icon type contains small-icon and large-icon elements that specify the file names for small and large GIF or JPEG icon images used to represent the parent element in a GUI tool. The xml:lang attribute defines the language that the icon file names are provided in. Its value is "en" (English) by default. </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="small-icon" type="j2ee:pathType" minOccurs="0"> <xsd:annotation> <xsd:documentation> <![CDATA[ The small-icon element contains the name of a file containing a small (16 x 16) icon image. The file name is a relative path within the Deployment Component's Deployment File. The image may be either in the JPEG or GIF format. The icon can be used by tools. Example: <small-icon>employee-service-icon16x16.jpg</small-icon> ]]> </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="large-icon" type="j2ee:pathType" minOccurs="0"> <xsd:annotation> <xsd:documentation> <![CDATA[ The large-icon element contains the name of a file containing a large (32 x 32) icon image. The file name is a relative path within the Deployment Component's Deployment File. The image may be either in the JPEG or GIF format. The icon can be used by tools. Example: <large-icon>employee-service-icon32x32.jpg</large-icon> ]]> </xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> <xsd:attribute ref="xml:lang"/> <xsd:attribute name="id" type="xsd:ID"/> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="java-identifierType"> <xsd:annotation> <xsd:documentation> The java-identifierType defines a Java identifier. The users of this type should further verify that the content does not contain Java reserved keywords. </xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:restriction base="j2ee:string"> <xsd:pattern value="($|_|\p{L})(\p{L}|\p{Nd}|_|$)*"/> </xsd:restriction> </xsd:simpleContent> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="java-typeType"> <xsd:annotation> <xsd:documentation> This is a generic type that designates a Java primitive type or a fully qualified name of a Java interface/type, or an array of such types. </xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:restriction base="j2ee:string"> <xsd:pattern value="[^\p{Z}]*"/> </xsd:restriction> </xsd:simpleContent> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="jndi-nameType"> <xsd:annotation> <xsd:documentation> The jndi-nameType type designates a JNDI name in the Deployment Component's environment and is relative to the java:comp/env context. A JNDI name must be unique within the Deployment Component. </xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:restriction base="j2ee:string"/> </xsd:simpleContent> </xsd:complexType><!-- **************************************************** --> <xsd:group name="jndiEnvironmentRefsGroup"> <xsd:annotation> <xsd:documentation> This group keeps the usage of the contained JNDI environment reference elements consistent across J2EE deployment descriptors. </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="env-entry" type="j2ee:env-entryType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="ejb-ref" type="j2ee:ejb-refType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="ejb-local-ref" type="j2ee:ejb-local-refType" minOccurs="0" maxOccurs="unbounded"/> <xsd:group ref="j2ee:service-refGroup"/> <xsd:element name="resource-ref" type="j2ee:resource-refType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="resource-env-ref" type="j2ee:resource-env-refType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="message-destination-ref" type="j2ee:message-destination-refType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:group><!-- **************************************************** --> <xsd:complexType name="listenerType"> <xsd:annotation> <xsd:documentation> The listenerType indicates the deployment properties for a web application listener bean. </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:group ref="j2ee:descriptionGroup"/> <xsd:element name="listener-class" type="j2ee:fully-qualified-classType"> <xsd:annotation> <xsd:documentation> The listener-class element declares a class in the application must be registered as a web application listener bean. The value is the fully qualified classname of the listener class. </xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> <xsd:attribute name="id" type="xsd:ID"/> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="local-homeType"> <xsd:annotation> <xsd:documentation> The local-homeType defines the fully-qualified name of an enterprise bean's local home interface. </xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:restriction base="j2ee:fully-qualified-classType"/> </xsd:simpleContent> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="localType"> <xsd:annotation> <xsd:documentation> The localType defines the fully-qualified name of an enterprise bean's local interface. </xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:restriction base="j2ee:fully-qualified-classType"/> </xsd:simpleContent> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="message-destination-linkType"> <xsd:annotation> <xsd:documentation> The message-destination-linkType is used to link a message destination reference or message-driven bean to a message destination. The Assembler sets the value to reflect the flow of messages between producers and consumers in the application. The value must be the message-destination-name of a message destination in the same Deployment File or in another Deployment File in the same J2EE application unit. Alternatively, the value may be composed of a path name specifying a Deployment File containing the referenced message destination with the message-destination-name of the destination appended and separated from the path name by "#". The path name is relative to the Deployment File containing Deployment Component that is referencing the message destination. This allows multiple message destinations with the same name to be uniquely identified. </xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:restriction base="j2ee:string"/> </xsd:simpleContent> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="message-destination-refType"> <xsd:annotation> <xsd:documentation> <![CDATA[ The message-destination-ref element contains a declaration of Deployment Component's reference to a message destination associated with a resource in Deployment Component's environment. It consists of: - an optional description - the message destination reference name - the message destination type - a specification as to whether the destination is used for consuming or producing messages, or both - a link to the message destination Examples: <message-destination-ref> <message-destination-ref-name>jms/StockQueue </message-destination-ref-name> <message-destination-type>javax.jms.Queue </message-destination-type> <message-destination-usage>Consumes </message-destination-usage> <message-destination-link>CorporateStocks </message-destination-link> </message-destination-ref> ]]> </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="description" type="j2ee:descriptionType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="message-destination-ref-name" type="j2ee:jndi-nameType"> <xsd:annotation> <xsd:documentation> The message-destination-ref-name element specifies the name of a message destination 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 and must be unique within an ejb-jar (for enterprise beans) or a Deployment File (for others). </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="message-destination-type" type="j2ee:message-destination-typeType"/> <xsd:element name="message-destination-usage" type="j2ee:message-destination-usageType"/> <xsd:element name="message-destination-link" type="j2ee:message-destination-linkType" minOccurs="0"/> </xsd:sequence> <xsd:attribute name="id" type="xsd:ID"/> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="message-destination-typeType"> <xsd:annotation> <xsd:documentation> <![CDATA[ The message-destination-typeType specifies the type of the destination. The type is specified by the Java interface expected to be implemented by the destination. Example: <message-destination-type>javax.jms.Queue </message-destination-type> ]]> </xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:restriction base="j2ee:fully-qualified-classType"/> </xsd:simpleContent> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="message-destination-usageType"> <xsd:annotation> <xsd:documentation> The message-destination-usageType specifies the use of the message destination indicated by the reference. The value indicates whether messages are consumed from the message destination, produced for the destination, or both. The Assembler makes use of this information in linking producers of a destination with its consumers. The value of the message-destination-usage element must be one of the following: Consumes Produces ConsumesProduces </xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:restriction base="j2ee:string"> <xsd:enumeration value="Consumes"/> <xsd:enumeration value="Produces"/> <xsd:enumeration value="ConsumesProduces"/> </xsd:restriction> </xsd:simpleContent> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="message-destinationType"> <xsd:annotation> <xsd:documentation> <![CDATA[ The message-destinationType specifies a message destination. The logical destination described by this element is mapped to a physical destination by the Deployer. The message destination element contains: - an optional description - an optional display-name - an optional icon - a message destination name which must be unique among message destination names within the same Deployment File. Example: <message-destination> <message-destination-name>CorporateStocks </message-destination-name> </message-destination> ]]> </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:group ref="j2ee:descriptionGroup"/> <xsd:element name="message-destination-name" type="j2ee:string"> <xsd:annotation> <xsd:documentation> The message-destination-name element specifies a name for a message destination. This name must be unique among the names of message destinations within the Deployment File. </xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> <xsd:attribute name="id" type="xsd:ID"/> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="param-valueType"> <xsd:annotation> <xsd:documentation> This type is a general type that can be used to declare parameter/value lists. </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="description" type="j2ee:descriptionType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="param-name" type="j2ee:string"> <xsd:annotation> <xsd:documentation> The param-name element contains the name of a parameter. </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="param-value" type="j2ee:xsdStringType"> <xsd:annotation> <xsd:documentation> The param-value element contains the value of a parameter. </xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> <xsd:attribute name="id" type="xsd:ID"/> </xsd:complexType><!-- **************************************************** --> <xsd:complexType name="pathType"> <xsd:annotation> <xsd:documentation> The elements that use this type designate either a relative path or an absolute path starting with a "/". In elements that specify a pathname to a file within the same Deployment File, relative filenames (i.e., those not starting with "/") are considered relative to the root of the Deployment File's namespace. Absolute filenames (i.e., those starting with "/") also specify names in the root of the Deployment File's namespace. In general, relative names are preferred. The exception is .war files where absolute names are preferred for consistency with the Servlet API. </xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:restriction base="j2ee:string"/> </xsd:simpleContent> </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="j2ee:fully-qualified-classType"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -