Apache Geronimo >  Index >  Development >  XML Schemas >  Apache Geronimo v2.1 XML Schemas User List | Dev List | Wiki | Issue Tracker  
  Overview
Home
License
ASF
Project Policies
Downloads
Documentation
News Archive
  Search
Powered by Google Search
  Community
Events
Get Involved
Committers
Mailing Lists
Discussion Forums
IRC
FAQ
Wiki
Found a Bug?
Service and Support
ASF Sponsorship
ASF Thanks!
  Development
Javadoc
XML Schemas
Source Code
Coding Standards
Issue Tracker
Related Projects
Sample Applications
  Subprojects
Development Tools
GBuild
GShell
XBean
  geronimo-login-config-2.0.xsd Apache Geronimo v2.1 XML Schemas   corba-css-config-2.1.xsd 

Documentation for geronimo-naming-1.2

Table of Contents

top

Schema Document Properties

Target Namespace http://geronimo.apache.org/xml/ns/naming-1.2
Version 1.0
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema imports schema(s) from the following namespace(s):
    • http://geronimo.apache.org/xml/ns/deployment-1.2 (at geronimo-module-1.2.xsd)
Documentation This is a partial XML Schema Definition for common naming elements for resolving EJB, Web, services, or resource references. This schema will never be used directly but its elements are used in geronimo-application-client-2.0.xsd, geronimo-connector-1.2.xsd, geronimo-web-2.0.1.xsd, geronimo-tomcat-2.0.1.xsd, and geronimo-jetty-2.0.2.xsd. All the schema's or plans using elements of this schema must specify the top level element with one of the namespace specified as "http://geronimo.apache.org/xml/ns/naming-1.2". The default location for this document is http://geronimo.apache.org/xml/ns/naming-1.2

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
gernaming http://geronimo.apache.org/xml/ns/naming-1.2
sys http://geronimo.apache.org/xml/ns/deployment-1.2
xsd http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xsd:schema targetNamespace="http://geronimo.apache.org/xml/ns/naming-1.2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
<xsd:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2" schemaLocation="geronimo-module-1.2.xsd"/>
...
</xsd:schema>
top

Global Declarations

Element: abstract-naming-entry

Name abstract-naming-entry
Used by (from the same schema document) Model Group jndiEnvironmentRefsGroup
Type gernaming:abstract-naming-entryType
Nillable no
Abstract yes
Documentation The element abstract-naming-entry is an abstract element used as a generic element for all the references.
Logical Diagram
XML Instance Representation
<gernaming:abstract-naming-entry/>
Diagram
h414327002 h-93857381 h-100384508
Schema Component Representation
<xsd:element name="abstract-naming-entry" type=" gernaming:abstract-naming-entryType " abstract="true"/>
top

Element: cmp-connection-factory

Name cmp-connection-factory
Type gernaming:resource-locatorType
Nillable no
Abstract no
Documentation The element cmp-connection-factory defines the connection pool which will be used by CMP entity beans to connect to datasource. This element will be used by openejb specifications.
Logical Diagram
XML Instance Representation
<gernaming:cmp-connection-factory>
Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for resources if multiple resources with same resource-name exists in dependency modules. The pattern mapped should result in single resource.'

<gernaming:resource-link> xsd:string </gernaming:resource-link> [1]

'The element resource-link is used to identify the JDBC, JMS, or JavaMail resource specified in all the dependency modules. This name should match the connectiondefination-instance/name defined in resource adapter deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this resource.'

<gernaming:url> xsd:string </gernaming:url> [1]

'The element url is used to identify the resources of type java.net.URL deployed in all the dependency modules. If the url doesn\'t map to unique resource the pattern element will be used to uniquely identify this resource.'

End Choice
</gernaming:cmp-connection-factory>
Diagram
h284462437
Schema Component Representation
<xsd:element name="cmp-connection-factory" type=" gernaming:resource-locatorType "/>
top

Element: ejb-local-ref

Name ejb-local-ref
Type gernaming:ejb-local-refType
Nillable no
Abstract no
Documentation The element ejb-local-ref is used to map EJB references to EJB's in other applications using local home and local interface. The application which contains the EJB being referenced should either be in same EAR or should be included in dependency list of this application. Also note as the EJB's referenced are in a different JVM all the Client interfaces should also be included in current application.
Logical Diagram
XML Instance Representation
<gernaming:ejb-local-ref>
<gernaming:ref-name> xsd:string </gernaming:ref-name> [1]

'The element ref-name is used to identify this local ejb reference. This name should be unique in a module and will be used by application to as a part of JNDI name for the referenced ejb. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"ejb-ref-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for local ejb\'s if multiple local ejb\'s with same ejb-link exists in EAR or dependency modules. The pattern mapped should result in single local EJB.'

<gernaming:ejb-link> xsd:string </gernaming:ejb-link> [1]

'The element ejb-link is used to identify the local ejb specified in same EAR or dependency modules. This name should match the ejb-name defined in EJB deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this local ejb.'

End Choice
</gernaming:ejb-local-ref>
Diagram
h284462437
Schema Component Representation
<xsd:element name="ejb-local-ref" type=" gernaming:ejb-local-refType "/>
top

Element: ejb-ref

Name ejb-ref
Type gernaming:ejb-refType
Nillable no
Abstract no
Documentation The element ejb-ref is used to map EJB references to EJB's in other applications using remote home and remote interface. The application which contains the EJB being referenced should either be in same EAR or should be included in dependency list of this application. Also note as the EJB's referenced are in a different JVM all the Client interfaces should also be included in current application.
Logical Diagram
XML Instance Representation
<gernaming:ejb-ref>
<gernaming:ref-name> xsd:string </gernaming:ref-name> [1]

'The element ref-name is used to identify this remote ejb reference. This name should be unique in a module and will be used by application as a part of JNDI name for the referenced ejb. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"ejb-ref-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for remote ejbs if multiple ejbs with same ejb-link exists in EAR or dependency modules. The pattern mapped should result in single remote EJB.'

<gernaming:ns-corbaloc> xsd:anyURI </gernaming:ns-corbaloc> [1]

'The corbaloc used to access the CORBA name server.'

<gernaming:name> xsd:string </gernaming:name> [1]

'The name of the object in the name server.'

Start Choice [1]
<gernaming:css> gernaming:patternType </gernaming:css> [1]

'The element css provides the gbean name to identify the client security service used.'

<gernaming:css-link> xsd:string </gernaming:css-link> [1]

'The css-link identify the client security service by its name.'

End Choice
<gernaming:ejb-link> xsd:string </gernaming:ejb-link> [1]

'The element ejb-link is used to identify the remote ejb specified in same EAR or dependency modules. This name should match the ejb-name defined in EJB deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this remote ejb.'

End Choice
</gernaming:ejb-ref>
Diagram
h284462437 h1759055279
Schema Component Representation
<xsd:element name="ejb-ref" type=" gernaming:ejb-refType "/>
top

Element: gbean-ref

Name gbean-ref
Type gernaming:gbean-refType
Nillable no
Abstract no
Documentation The element gbean-ref is used to map gbean references to gbeans configured outside the current module.
Logical Diagram
XML Instance Representation
<gernaming:gbean-ref>
<gernaming:ref-name> xsd:string </gernaming:ref-name> [1]

'The element ref-name is used to identify this gbean reference. This name should be unique in a module and will be used by application to as a part of JNDI name for the referenced gbean. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"ref-name\" provided in deployment descriptor.'

<gernaming:ref-type> xsd:string </gernaming:ref-type> [0..*]

'The element ref-type is used to specify the interface implemented by GBean being referenced.'

Start Choice [0..*]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for gbeans if multiple gbeans with same name exists in dependency modules. The pattern mapped should result in single gbean.'

End Choice
</gernaming:gbean-ref>
Diagram
h1613262261
Schema Component Representation
<xsd:element name="gbean-ref" type=" gernaming:gbean-refType " substitutionGroup="gernaming:abstract-naming-entry"/>
top

Element: message-destination

Name message-destination
Type gernaming:message-destinationType
Nillable no
Abstract no
Documentation The element message-destination is used to configure a JMS queue or topic which act like a destination for the messages delivered.
Logical Diagram
XML Instance Representation
<gernaming:message-destination>
<gernaming:message-destination-name> xsd:string </gernaming:message-destination-name> [1]

'The element message-destination-name is used to identify this message destination reference. This name should be unique in a module and will be used by application to as a part of JNDI name for the message destination. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"message-destination-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for JMS destination\'s if multiple destination\'s with same admin-object-link exists in dependency modules. The pattern mapped should result in single destination.'

<gernaming:admin-object-module> xsd:string </gernaming:admin-object-module> [0..1]
<gernaming:admin-object-link> xsd:string </gernaming:admin-object-link> [1]

'The element admin-object-link is used to identify the admin object resource specified in any of the dependency modules. This name should match the message-definition-name defined in admin object section of deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this admin object resource.'

End Choice
</gernaming:message-destination>
Diagram
h284462437
Schema Component Representation
<xsd:element name="message-destination" type=" gernaming:message-destinationType "/>
top

Element: persistence-context-ref

Name persistence-context-ref
Type gernaming:persistence-context-refType
Nillable no
Abstract no
Documentation The element entity-manager-factory-ref is used to map persistence context references to persistence contexts configured outside the current module.
Logical Diagram
XML Instance Representation
<gernaming:persistence-context-ref>
<gernaming:persistence-context-ref-name> xsd:string </gernaming:persistence-context-ref-name> [1]

'The element ref-name is used to identify this persistence context reference. This name should be unique in a module and will be used by application as a part of JNDI name for the referenced persistence context. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"ref-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:persistence-unit-name> xsd:string </gernaming:persistence-unit-name> [1]

'The element persistence-unit-name is used to identify persistence context specified in any of the dependency modules. This name should match the persistence-unit-name defined in deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this persistence unit.'

<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for persistence context\'s if multiple persistence context\'s with same persistence-unit-name exists in dependency modules. The pattern mapped should result in single persistence context.'

End Choice
<gernaming:persistence-context-type> gernaming:persistence-context-typeType </gernaming:persistence-context-type> [0..1]

'The element persistence-context-type is used to provide transaction features if persistence context reference. It can have value of transaction-scoped or extended.'

<gernaming:property> gernaming:propertyType </gernaming:property> [0..*]

'The element property is used to provide vendor specific properties for persistence context reference.'

</gernaming:persistence-context-ref>
Diagram
h1613262261
Schema Component Representation
<xsd:element name="persistence-context-ref" type=" gernaming:persistence-context-refType " substitutionGroup="gernaming:abstract-naming-entry"/>
top

Element: persistence-unit-ref

Name persistence-unit-ref
Type gernaming:persistence-unit-refType
Nillable no
Abstract no
Documentation The element persistence-unit-ref is used to map persistence unit references to persistence units configured outside the current module.
Logical Diagram
XML Instance Representation
<gernaming:persistence-unit-ref>
<gernaming:persistence-unit-ref-name> xsd:string </gernaming:persistence-unit-ref-name> [1]

'The element persistence-unit-ref-name is used to identify this persistence unit reference. This name should be unique in a module and will be used by application as a part of JNDI name for the referenced persistence unit. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"ref-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:persistence-unit-name> xsd:string </gernaming:persistence-unit-name> [1]

'The element persistence-unit-name is used to identify persistence unit specified in any of the dependency modules. This name should match the persistence-unit-name defined in deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this persistence unit.'

<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for persistence units if multiple persistence units with same persistence-unit-name exists in dependency modules. The pattern mapped should result in single persistence unit.'

End Choice
</gernaming:persistence-unit-ref>
Diagram
h1613262261
Schema Component Representation
<xsd:element name="persistence-unit-ref" type=" gernaming:persistence-unit-refType " substitutionGroup="gernaming:abstract-naming-entry"/>
top

Element: resource-adapter

Name resource-adapter
Type gernaming:resource-locatorType
Nillable no
Abstract no
Documentation The element resource-adapter defines the JMS destination which will be used by MDB to connect to destination. This element will be used by openejb specifications.
Logical Diagram
XML Instance Representation
<gernaming:resource-adapter>
Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for resources if multiple resources with same resource-name exists in dependency modules. The pattern mapped should result in single resource.'

<gernaming:resource-link> xsd:string </gernaming:resource-link> [1]

'The element resource-link is used to identify the JDBC, JMS, or JavaMail resource specified in all the dependency modules. This name should match the connectiondefination-instance/name defined in resource adapter deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this resource.'

<gernaming:url> xsd:string </gernaming:url> [1]

'The element url is used to identify the resources of type java.net.URL deployed in all the dependency modules. If the url doesn\'t map to unique resource the pattern element will be used to uniquely identify this resource.'

End Choice
</gernaming:resource-adapter>
Diagram
h284462437
Schema Component Representation
<xsd:element name="resource-adapter" type=" gernaming:resource-locatorType "/>
top

Element: resource-env-ref

Name resource-env-ref
Type gernaming:resource-env-refType
Nillable no
Abstract no
Documentation The element resource-env-ref is used to map resource references to administrative objects deployed as a part of connectors.
Logical Diagram
XML Instance Representation
<gernaming:resource-env-ref>
<gernaming:ref-name> xsd:string </gernaming:ref-name> [1]

'The element ref-name is used to identify this resource reference. This name should be unique in a module and will be used by application as a part of JNDI name for the referenced resource. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"res-ref-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for admin object\'s if multiple admin object\'s with same admin-object-link exists in dependency modules. The pattern mapped should result in single admin object.'

<gernaming:message-destination-link> xsd:string </gernaming:message-destination-link> [1]

'This element is deprecated and should not be used. Use admin-object-link instead. That is effectively a renamed version of this.'

<gernaming:admin-object-module> xsd:string </gernaming:admin-object-module> [0..1]
<gernaming:admin-object-link> xsd:string </gernaming:admin-object-link> [1]

'The element admin-object-link is used to identify the admin object resource specified in any of the dependency modules. This name should match the message-definition-name defined in admin object section of deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this admin object resource.'

End Choice
</gernaming:resource-env-ref>
Diagram
h284462437
Schema Component Representation
<xsd:element name="resource-env-ref" type=" gernaming:resource-env-refType "/>
top

Element: resource-ref

Name resource-ref
Type gernaming:resource-refType
Nillable no
Abstract no
Documentation The element resource-ref is used to map resource references to resources's like JDBC resources, JMS resources, etc. configured outside the current application.
Logical Diagram
XML Instance Representation
<gernaming:resource-ref>
<gernaming:ref-name> xsd:string </gernaming:ref-name> [1]

'The element ref-name is used to identify this resource reference. This name should be unique in a module and will be used by application to as a part of JNDI name for the referenced resource. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"resource-ref-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for resources if multiple resources with same resource-link or URI exists dependency modules. The pattern mapped should result in single resource.'

<gernaming:resource-link> xsd:string </gernaming:resource-link> [1]

'The element resource-link is used to identify the JDBC, JMS, or JavaMail resource specified in all the dependency modules. This name should match the connectiondefination-instance/name defined in resource adapter deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this resource.'

<gernaming:url> xsd:string </gernaming:url> [1]

'The element url is used to identify the resources of type java.net.URL deployed in all the dependency modules. If the url doesn\'t map to unique resource the pattern element will be used to uniquely identify this resource.'

End Choice
</gernaming:resource-ref>
Diagram
h284462437
Schema Component Representation
<xsd:element name="resource-ref" type=" gernaming:resource-refType "/>
top

Element: service-ref

Name service-ref
Type gernaming:service-refType
Nillable no
Abstract no
Documentation The element service-ref is used to map service references to service's in other applications. The application which contains the EJB being referenced should either be in same EAR or should be included in dependency list of this application.
Logical Diagram
XML Instance Representation
<gernaming:service-ref>
<gernaming:service-ref-name> xsd:string </gernaming:service-ref-name> [1]

'The element service-ref-name is used to identify this service reference. This name should be unique in a module and will be used by application to as a part of JNDI name for the web service. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"service-ref-name\" provided in service-ref of deployment descriptor.'

Start Choice [1]
<gernaming:service-completion> gernaming:service-completionType </gernaming:service-completion> [1]

'The element service-completion is used to provide missing information for web service. If this element doesn\'t exist all the information should be available in WSDL.'

<gernaming:port> gernaming:portType </gernaming:port> [1..*]

'The element port defines the ports available though service reference. If this element doesn\'t exist the port information should be available in WSDL.'

End Choice
</gernaming:service-ref>
Diagram
h-610374157 h1814927040
Schema Component Representation
<xsd:element name="service-ref" type=" gernaming:service-refType "/>
top

Element: web-container

Name web-container
Type gernaming:gbean-locatorType
Nillable no
Abstract no
Documentation The element web-container defines the binding between web application and web container instance. It specifies which container application should be deployed to.
Logical Diagram
XML Instance Representation
<gernaming:web-container>
Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for gbean\'s if multiple gbean\'s with same name exists in dependency modules. The pattern mapped should result in single gbean.'

<gernaming:gbean-link> xsd:string </gernaming:gbean-link> [1]

'The element gbean-link is used to identify the gbean deployed in any of the dependency modules. This name should match the gbean-name defined in deployment plane. If the name is not unique the pattern element will be used to uniquely identify this gbean.'

End Choice
</gernaming:web-container>
Diagram
h284462437
Schema Component Representation
<xsd:element name="web-container" type=" gernaming:gbean-locatorType "/>
top

Element: workmanager

Name workmanager
Type gernaming:gbean-locatorType
Nillable no
Abstract no
Documentation The element workmanager defines the work manager implementation used by resource adapter. This element will be used by resource adapter plan.
Logical Diagram
XML Instance Representation
<gernaming:workmanager>
Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for gbean\'s if multiple gbean\'s with same name exists in dependency modules. The pattern mapped should result in single gbean.'

<gernaming:gbean-link> xsd:string </gernaming:gbean-link> [1]

'The element gbean-link is used to identify the gbean deployed in any of the dependency modules. This name should match the gbean-name defined in deployment plane. If the name is not unique the pattern element will be used to uniquely identify this gbean.'

End Choice
</gernaming:workmanager>
Diagram
h284462437
Schema Component Representation
<xsd:element name="workmanager" type=" gernaming:gbean-locatorType "/>
top

Global Definitions

Complex Type: abstract-naming-entryType

Super-types: None
Sub-types:
Name abstract-naming-entryType
Used by (from the same schema document) Element abstract-naming-entry
Abstract yes
XML Instance Representation
<.../>
Diagram
Schema Component Representation
<xsd:complexType name="abstract-naming-entryType" abstract="true">
<xsd:sequence/>
</xsd:complexType>
top

Complex Type: ejb-local-refType

Super-types: None
Sub-types: None
Name ejb-local-refType
Used by (from the same schema document) Element ejb-local-ref , Model Group jndiEnvironmentRefsGroup
Abstract no
XML Instance Representation
<...>
<gernaming:ref-name> xsd:string </gernaming:ref-name> [1]

'The element ref-name is used to identify this local ejb reference. This name should be unique in a module and will be used by application to as a part of JNDI name for the referenced ejb. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"ejb-ref-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for local ejb\'s if multiple local ejb\'s with same ejb-link exists in EAR or dependency modules. The pattern mapped should result in single local EJB.'

<gernaming:ejb-link> xsd:string </gernaming:ejb-link> [1]

'The element ejb-link is used to identify the local ejb specified in same EAR or dependency modules. This name should match the ejb-name defined in EJB deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this local ejb.'

End Choice
</...>
Diagram
h284462437
Schema Component Representation
<xsd:complexType name="ejb-local-refType">
<xsd:sequence>
<xsd:element name="ref-name" type=" xsd:string "/>
<xsd:choice>
<xsd:element name="pattern" type=" gernaming:patternType "/>
<xsd:element name="ejb-link" type=" xsd:string "/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: ejb-refType

Super-types: None
Sub-types: None
Name ejb-refType
Used by (from the same schema document) Element ejb-ref , Model Group jndiEnvironmentRefsGroup
Abstract no
XML Instance Representation
<...>
<gernaming:ref-name> xsd:string </gernaming:ref-name> [1]

'The element ref-name is used to identify this remote ejb reference. This name should be unique in a module and will be used by application as a part of JNDI name for the referenced ejb. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"ejb-ref-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for remote ejbs if multiple ejbs with same ejb-link exists in EAR or dependency modules. The pattern mapped should result in single remote EJB.'

<gernaming:ns-corbaloc> xsd:anyURI </gernaming:ns-corbaloc> [1]

'The corbaloc used to access the CORBA name server.'

<gernaming:name> xsd:string </gernaming:name> [1]

'The name of the object in the name server.'

Start Choice [1]
<gernaming:css> gernaming:patternType </gernaming:css> [1]

'The element css provides the gbean name to identify the client security service used.'

<gernaming:css-link> xsd:string </gernaming:css-link> [1]

'The css-link identify the client security service by its name.'

End Choice
<gernaming:ejb-link> xsd:string </gernaming:ejb-link> [1]

'The element ejb-link is used to identify the remote ejb specified in same EAR or dependency modules. This name should match the ejb-name defined in EJB deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this remote ejb.'

End Choice
</...>
Diagram
h284462437 h1759055279
Schema Component Representation
<xsd:complexType name="ejb-refType">
<xsd:sequence>
<xsd:element name="ref-name" type=" xsd:string "/>
<xsd:choice>
<xsd:element name="pattern" type=" gernaming:patternType "/>
<xsd:group ref=" gernaming:corbaNameGroup "/>
<xsd:element name="ejb-link" type=" xsd:string "/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: gbean-locatorType

Super-types: None
Sub-types: None
Name gbean-locatorType
Used by (from the same schema document) Element workmanager , Element web-container
Abstract no
XML Instance Representation
<...>
Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for gbean\'s if multiple gbean\'s with same name exists in dependency modules. The pattern mapped should result in single gbean.'

<gernaming:gbean-link> xsd:string </gernaming:gbean-link> [1]

'The element gbean-link is used to identify the gbean deployed in any of the dependency modules. This name should match the gbean-name defined in deployment plane. If the name is not unique the pattern element will be used to uniquely identify this gbean.'

End Choice
</...>
Diagram
h284462437
Schema Component Representation
<xsd:complexType name="gbean-locatorType">
<xsd:sequence>
<xsd:choice>
<xsd:element name="pattern" type=" gernaming:patternType "/>
<xsd:element name="gbean-link" type=" xsd:string "/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: gbean-refType

Super-types: abstract-naming-entryType < gbean-refType (by extension)
Sub-types: None
Name gbean-refType
Used by (from the same schema document) Element gbean-ref
Abstract no
XML Instance Representation
<...>
<gernaming:ref-name> xsd:string </gernaming:ref-name> [1]

'The element ref-name is used to identify this gbean reference. This name should be unique in a module and will be used by application to as a part of JNDI name for the referenced gbean. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"ref-name\" provided in deployment descriptor.'

<gernaming:ref-type> xsd:string </gernaming:ref-type> [0..*]

'The element ref-type is used to specify the interface implemented by GBean being referenced.'

Start Choice [0..*]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for gbeans if multiple gbeans with same name exists in dependency modules. The pattern mapped should result in single gbean.'

End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="gbean-refType">
<xsd:complexContent>
<xsd:extension base=" gernaming:abstract-naming-entryType ">
<xsd:sequence>
<xsd:element name="ref-name" type=" xsd:string "/>
<xsd:element name="ref-type" type=" xsd:string " minOccurs="0" maxOccurs="unbounded"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="pattern" type=" gernaming:patternType "/>
</xsd:choice>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: message-destinationType

Super-types: None
Sub-types: None
Name message-destinationType
Used by (from the same schema document) Element message-destination
Abstract no
XML Instance Representation
<...>
<gernaming:message-destination-name> xsd:string </gernaming:message-destination-name> [1]

'The element message-destination-name is used to identify this message destination reference. This name should be unique in a module and will be used by application to as a part of JNDI name for the message destination. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"message-destination-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for JMS destination\'s if multiple destination\'s with same admin-object-link exists in dependency modules. The pattern mapped should result in single destination.'

<gernaming:admin-object-module> xsd:string </gernaming:admin-object-module> [0..1]
<gernaming:admin-object-link> xsd:string </gernaming:admin-object-link> [1]

'The element admin-object-link is used to identify the admin object resource specified in any of the dependency modules. This name should match the message-definition-name defined in admin object section of deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this admin object resource.'

End Choice
</...>
Diagram
h284462437
Schema Component Representation
<xsd:complexType name="message-destinationType">
<xsd:sequence>
<xsd:element name="message-destination-name" type=" xsd:string "/>
<xsd:choice>
<xsd:element name="pattern" type=" gernaming:patternType "/>
<xsd:sequence>
<xsd:element name="admin-object-module" type=" xsd:string " minOccurs="0"/>
<xsd:element name="admin-object-link" type=" xsd:string "/>
</xsd:sequence>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: patternType

Super-types: None
Sub-types: None
Name patternType
Used by (from the same schema document) Complex Type ejb-refType , Complex Type ejb-local-refType , Complex Type resource-refType , Complex Type gbean-refType , Complex Type persistence-unit-refType , Complex Type persistence-context-refType , Complex Type resource-locatorType , Complex Type resource-env-refType , Complex Type message-destinationType , Complex Type gbean-locatorType , Model Group corbaNameGroup
Abstract no
XML Instance Representation
<...>
<gernaming:groupId> xsd:string </gernaming:groupId> [0..1]

'The name for group containing module to match. By default is it considered wild card \'*\'.'

<gernaming:artifactId> xsd:string </gernaming:artifactId> [0..1]

'The name for module in a specified group to be matched.'

<gernaming:version> xsd:string </gernaming:version> [0..1]

'The version number for the module formatted by dot separated numbers. If no version is provided it will be defaulted latest available version matching other criterions.'

<gernaming:module> xsd:string </gernaming:module> [0..1]

'The value specified here should match the file name of the module referenced.'

<gernaming:name> xsd:string </gernaming:name> [1]

'The name element to identify the referenced GBean by name.'

</...>
Diagram
Schema Component Representation
<xsd:complexType name="patternType">
<xsd:sequence>
<xsd:element name="groupId" type=" xsd:string " minOccurs="0"/>
<xsd:element name="artifactId" type=" xsd:string " minOccurs="0"/>
<xsd:element name="version" type=" xsd:string " minOccurs="0"/>
<xsd:element name="module" type=" xsd:string " minOccurs="0"/>
<xsd:element name="name" type=" xsd:string "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: persistence-context-refType

Super-types: abstract-naming-entryType < persistence-context-refType (by extension)
Sub-types: None
Name persistence-context-refType
Used by (from the same schema document) Element persistence-context-ref
Abstract no
XML Instance Representation
<...>
<gernaming:persistence-context-ref-name> xsd:string </gernaming:persistence-context-ref-name> [1]

'The element ref-name is used to identify this persistence context reference. This name should be unique in a module and will be used by application as a part of JNDI name for the referenced persistence context. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"ref-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:persistence-unit-name> xsd:string </gernaming:persistence-unit-name> [1]

'The element persistence-unit-name is used to identify persistence context specified in any of the dependency modules. This name should match the persistence-unit-name defined in deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this persistence unit.'

<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for persistence context\'s if multiple persistence context\'s with same persistence-unit-name exists in dependency modules. The pattern mapped should result in single persistence context.'

End Choice
<gernaming:persistence-context-type> gernaming:persistence-context-typeType </gernaming:persistence-context-type> [0..1]

'The element persistence-context-type is used to provide transaction features if persistence context reference. It can have value of transaction-scoped or extended.'

<gernaming:property> gernaming:propertyType </gernaming:property> [0..*]

'The element property is used to provide vendor specific properties for persistence context reference.'

</...>
Diagram
Schema Component Representation
<xsd:complexType name="persistence-context-refType">
<xsd:complexContent>
<xsd:extension base=" gernaming:abstract-naming-entryType ">
<xsd:sequence>
<xsd:element name="persistence-context-ref-name" type=" xsd:string "/>
<xsd:choice>
<xsd:element name="persistence-unit-name" type=" xsd:string "/>
<xsd:element name="pattern" type=" gernaming:patternType "/>
</xsd:choice>
<xsd:element name="persistence-context-type" type=" gernaming:persistence-context-typeType " minOccurs="0"/>
<xsd:element name="property" type=" gernaming:propertyType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: persistence-unit-refType

Super-types: abstract-naming-entryType < persistence-unit-refType (by extension)
Sub-types: None
Name persistence-unit-refType
Used by (from the same schema document) Element persistence-unit-ref
Abstract no
XML Instance Representation
<...>
<gernaming:persistence-unit-ref-name> xsd:string </gernaming:persistence-unit-ref-name> [1]

'The element persistence-unit-ref-name is used to identify this persistence unit reference. This name should be unique in a module and will be used by application as a part of JNDI name for the referenced persistence unit. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"ref-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:persistence-unit-name> xsd:string </gernaming:persistence-unit-name> [1]

'The element persistence-unit-name is used to identify persistence unit specified in any of the dependency modules. This name should match the persistence-unit-name defined in deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this persistence unit.'

<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for persistence units if multiple persistence units with same persistence-unit-name exists in dependency modules. The pattern mapped should result in single persistence unit.'

End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="persistence-unit-refType">
<xsd:complexContent>
<xsd:extension base=" gernaming:abstract-naming-entryType ">
<xsd:sequence>
<xsd:element name="persistence-unit-ref-name" type=" xsd:string "/>
<xsd:choice>
<xsd:element name="persistence-unit-name" type=" xsd:string "/>
<xsd:element name="pattern" type=" gernaming:patternType "/>
</xsd:choice>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: port-completionType

Super-types: None
Sub-types: None
Name port-completionType
Used by (from the same schema document) Complex Type service-completionType
Abstract no
XML Instance Representation
<...>
<gernaming:port> gernaming:portType </gernaming:port> [1]

'The element port provides the port used for web services connection.'

<gernaming:binding-name> xsd:string </gernaming:binding-name> [1]

'The element binding-name is used to provide the name for binding for a port and URL.'

</...>
Diagram
h1814927040
Schema Component Representation
<xsd:complexType name="port-completionType">
<xsd:sequence>
<xsd:element name="port" type=" gernaming:portType "/>
<xsd:element name="binding-name" type=" xsd:string "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: portType

Super-types: None
Sub-types: None
Name portType
Used by (from the same schema document) Complex Type service-refType , Complex Type port-completionType
Abstract no
XML Instance Representation
<...>
<gernaming:port-name> xsd:string </gernaming:port-name> [1]

'The port-name element provides the name to identify the port to connect.'

Start Group: gernaming:serverGroup [0..1]

'Reference to serverGroup defined later in this schema.'


<gernaming:protocol> xsd:string </gernaming:protocol> [1]

'The protocol element is used to specify the network protocol used for connection. This could be http or https.'

<gernaming:host> xsd:string </gernaming:host> [1]

'The host element is used to specify the network host to connect.'

<gernaming:port> xsd:int </gernaming:port> [1]

'The port element is used to specify the network port to connect.'

End Group: gernaming:serverGroup
<gernaming:uri> xsd:string </gernaming:uri> [1]

'The uri element provides the path to particular resource once connection is established.'

<gernaming:credentials-name> xsd:string </gernaming:credentials-name> [0..1]

'The credentials-name element provides the credentials name to identify the credentials used for secure connections.'

</...>
Diagram
h495089468
Schema Component Representation
<xsd:complexType name="portType">
<xsd:sequence>
<xsd:element name="port-name" type=" xsd:string "/>
<xsd:group ref=" gernaming:serverGroup " minOccurs="0"/>
<xsd:element name="uri" type=" xsd:string "/>
<xsd:element name="credentials-name" type=" xsd:string " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: propertyType

Super-types: None
Sub-types: None
Name propertyType
Used by (from the same schema document) Complex Type persistence-context-refType
Abstract no
XML Instance Representation
<...>
<gernaming:key> xsd:string </gernaming:key> [1]

'The element key provides the key identifying this property.'

<gernaming:value> xsd:string </gernaming:value> [1]

'The element value provides the value for this property.'

</...>
Diagram
Schema Component Representation
<xsd:complexType name="propertyType">
<xsd:sequence>
<xsd:element name="key" type=" xsd:string "/>
<xsd:element name="value" type=" xsd:string "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: resource-env-refType

Super-types: None
Sub-types: None
Name resource-env-refType
Used by (from the same schema document) Element resource-env-ref , Model Group jndiEnvironmentRefsGroup
Abstract no
XML Instance Representation
<...>
<gernaming:ref-name> xsd:string </gernaming:ref-name> [1]

'The element ref-name is used to identify this resource reference. This name should be unique in a module and will be used by application as a part of JNDI name for the referenced resource. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"res-ref-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for admin object\'s if multiple admin object\'s with same admin-object-link exists in dependency modules. The pattern mapped should result in single admin object.'

<gernaming:message-destination-link> xsd:string </gernaming:message-destination-link> [1]

'This element is deprecated and should not be used. Use admin-object-link instead. That is effectively a renamed version of this.'

<gernaming:admin-object-module> xsd:string </gernaming:admin-object-module> [0..1]
<gernaming:admin-object-link> xsd:string </gernaming:admin-object-link> [1]

'The element admin-object-link is used to identify the admin object resource specified in any of the dependency modules. This name should match the message-definition-name defined in admin object section of deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this admin object resource.'

End Choice
</...>
Diagram
h284462437
Schema Component Representation
<xsd:complexType name="resource-env-refType">
<xsd:sequence>
<xsd:element name="ref-name" type=" xsd:string "/>
<xsd:choice>
<xsd:element name="pattern" type=" gernaming:patternType "/>
<xsd:element name="message-destination-link" type=" xsd:string "/>
<xsd:sequence>
<xsd:element name="admin-object-module" type=" xsd:string " minOccurs="0"/>
<xsd:element name="admin-object-link" type=" xsd:string "/>
</xsd:sequence>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: resource-locatorType

Super-types: None
Sub-types: None
Name resource-locatorType
Used by (from the same schema document) Element cmp-connection-factory , Element resource-adapter
Abstract no
XML Instance Representation
<...>
Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for resources if multiple resources with same resource-name exists in dependency modules. The pattern mapped should result in single resource.'

<gernaming:resource-link> xsd:string </gernaming:resource-link> [1]

'The element resource-link is used to identify the JDBC, JMS, or JavaMail resource specified in all the dependency modules. This name should match the connectiondefination-instance/name defined in resource adapter deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this resource.'

<gernaming:url> xsd:string </gernaming:url> [1]

'The element url is used to identify the resources of type java.net.URL deployed in all the dependency modules. If the url doesn\'t map to unique resource the pattern element will be used to uniquely identify this resource.'

End Choice
</...>
Diagram
h284462437
Schema Component Representation
<xsd:complexType name="resource-locatorType">
<xsd:sequence>
<xsd:choice>
<xsd:element name="pattern" type=" gernaming:patternType "/>
<xsd:element name="resource-link" type=" xsd:string "/>
<xsd:element name="url" type=" xsd:string "/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: resource-refType

Super-types: None
Sub-types: None
Name resource-refType
Used by (from the same schema document) Element resource-ref , Model Group jndiEnvironmentRefsGroup
Abstract no
XML Instance Representation
<...>
<gernaming:ref-name> xsd:string </gernaming:ref-name> [1]

'The element ref-name is used to identify this resource reference. This name should be unique in a module and will be used by application to as a part of JNDI name for the referenced resource. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"resource-ref-name\" provided in deployment descriptor.'

Start Choice [1]
<gernaming:pattern> gernaming:patternType </gernaming:pattern> [1]

'The element pattern is used to provide additional selection criterion for resources if multiple resources with same resource-link or URI exists dependency modules. The pattern mapped should result in single resource.'

<gernaming:resource-link> xsd:string </gernaming:resource-link> [1]

'The element resource-link is used to identify the JDBC, JMS, or JavaMail resource specified in all the dependency modules. This name should match the connectiondefination-instance/name defined in resource adapter deployment descriptor. If the name is not unique the pattern element will be used to uniquely identify this resource.'

<gernaming:url> xsd:string </gernaming:url> [1]

'The element url is used to identify the resources of type java.net.URL deployed in all the dependency modules. If the url doesn\'t map to unique resource the pattern element will be used to uniquely identify this resource.'

End Choice
</...>
Diagram
h284462437
Schema Component Representation
<xsd:complexType name="resource-refType">
<xsd:sequence>
<xsd:element name="ref-name" type=" xsd:string "/>
<xsd:choice>
<xsd:element name="pattern" type=" gernaming:patternType "/>
<xsd:element name="resource-link" type=" xsd:string "/>
<xsd:element name="url" type=" xsd:string "/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: service-completionType

Super-types: None
Sub-types: None
Name service-completionType
Used by (from the same schema document) Complex Type service-refType
Abstract no
XML Instance Representation
<...>
<gernaming:service-name> xsd:string </gernaming:service-name> [1]

'The element service-name provides the name of the service missing in service block of WSDL.'

<gernaming:port-completion> gernaming:port-completionType </gernaming:port-completion> [1..*]

'The element port-completion provides the port information missing in WSDL.'

</...>
Diagram
h1904392061
Schema Component Representation
<xsd:complexType name="service-completionType">
<xsd:sequence>
<xsd:element name="service-name" type=" xsd:string "/>
<xsd:element name="port-completion" type=" gernaming:port-completionType " maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: service-refType

Super-types: None
Sub-types: None
Name service-refType
Used by (from the same schema document) Element service-ref , Model Group jndiEnvironmentRefsGroup
Abstract no
XML Instance Representation
<...>
<gernaming:service-ref-name> xsd:string </gernaming:service-ref-name> [1]

'The element service-ref-name is used to identify this service reference. This name should be unique in a module and will be used by application to as a part of JNDI name for the web service. The JNDI name used will be \"java:/comp/env/ref-name. It should map to the \"service-ref-name\" provided in service-ref of deployment descriptor.'

Start Choice [1]
<gernaming:service-completion> gernaming:service-completionType </gernaming:service-completion> [1]

'The element service-completion is used to provide missing information for web service. If this element doesn\'t exist all the information should be available in WSDL.'

<gernaming:port> gernaming:portType </gernaming:port> [1..*]

'The element port defines the ports available though service reference. If this element doesn\'t exist the port information should be available in WSDL.'

End Choice
</...>
Diagram
h-610374157 h1814927040
Schema Component Representation
<xsd:complexType name="service-refType">
<xsd:sequence>
<xsd:element name="service-ref-name" type=" xsd:string "/>
<xsd:choice>
<xsd:element name="service-completion" type=" gernaming:service-completionType "/>
<xsd:element name="port" type=" gernaming:portType " maxOccurs="unbounded"/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
top

Model Group: corbaNameGroup

Name corbaNameGroup
Used by (from the same schema document) Complex Type ejb-refType
Documentation This group contains the location of the CORBA name server, the name, and the client security server used to make interop calls.
XML Instance Representation
<gernaming:ns-corbaloc> xsd:anyURI </gernaming:ns-corbaloc> [1]

'The corbaloc used to access the CORBA name server.'

<gernaming:name> xsd:string </gernaming:name> [1]

'The name of the object in the name server.'

Start Choice [1]
<gernaming:css> gernaming:patternType </gernaming:css> [1]

'The element css provides the gbean name to identify the client security service used.'

<gernaming:css-link> xsd:string </gernaming:css-link> [1]

'The css-link identify the client security service by its name.'

End Choice
Diagram
h284462437
Schema Component Representation
<xsd:group name="corbaNameGroup">
<xsd:sequence>
<xsd:element name="ns-corbaloc" type=" xsd:anyURI "/>
<xsd:element name="name" type=" xsd:string "/>
<xsd:choice>
<xsd:element name="css" type=" gernaming:patternType "/>
<xsd:element name="css-link" type=" xsd:string "/>
</xsd:choice>
</xsd:sequence>
</xsd:group>
top

Model Group: jndiEnvironmentRefsGroup

Name jndiEnvironmentRefsGroup
Documentation This group keeps the usage of the contained JNDI environment reference elements consistent across J2EE deployment descriptors.
XML Instance Representation
<gernaming:ejb-ref> gernaming:ejb-refType </gernaming:ejb-ref> [0..*]

'The element ejb-ref is used to map EJB references to EJB\'s in other applications using remote home and remote interface. The application which contains the EJB being referenced should either be in same EAR or should be included in dependency list of this application. Also note as the EJB\'s referenced are in a different JVM all the Client interfaces should also be included in current application.'

<gernaming:ejb-local-ref> gernaming:ejb-local-refType </gernaming:ejb-local-ref> [0..*]

'The element ejb-local-ref is used to map EJB references to EJB\'s in other applications using local home and local interface. The application which contains the EJB being referenced should either be in same EAR or should be included in dependency list of this application. Also note as the EJB\'s referenced are in a different JVM all the Client interfaces should also be included in current application.'

<gernaming:service-ref> gernaming:service-refType </gernaming:service-ref> [0..*]

'The element service-ref is used to map service references to service\'s in other applications. The application which contains the EJB being referenced should either be in same EAR or should be included in dependency list of this application.'

<gernaming:resource-ref> gernaming:resource-refType </gernaming:resource-ref> [0..*]

'The element resource-ref is used to map resource references to resources\'s like JDBC resources, JMS resources, etc. configured outside the current application.'

<gernaming:resource-env-ref> gernaming:resource-env-refType </gernaming:resource-env-ref> [0..*]

'The element resource-env-ref is used to map resource references to administrative objects deployed as a part of connectors.'

Diagram
h1613262261 h-1635524744 h-752954666 h2073071696 h-1131421165 h1106300467
Schema Component Representation
<xsd:group name="jndiEnvironmentRefsGroup">
<xsd:sequence>
<xsd:element ref=" gernaming:abstract-naming-entry " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="ejb-ref" type=" gernaming:ejb-refType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="ejb-local-ref" type=" gernaming:ejb-local-refType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="service-ref" type=" gernaming:service-refType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="resource-ref" type=" gernaming:resource-refType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="resource-env-ref" type=" gernaming:resource-env-refType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:group>
top

Model Group: serverGroup

Name serverGroup
Used by (from the same schema document) Complex Type portType
Documentation This group contains the protocol, address, and port for a server
XML Instance Representation
<gernaming:protocol> xsd:string </gernaming:protocol> [1]

'The protocol element is used to specify the network protocol used for connection. This could be http or https.'

<gernaming:host> xsd:string </gernaming:host> [1]

'The host element is used to specify the network host to connect.'

<gernaming:port> xsd:int </gernaming:port> [1]

'The port element is used to specify the network port to connect.'

Diagram
Schema Component Representation
<xsd:group name="serverGroup">
<xsd:sequence>
<xsd:element name="protocol" type=" xsd:string "/>
<xsd:element name="host" type=" xsd:string "/>
<xsd:element name="port" type=" xsd:int "/>
</xsd:sequence>
</xsd:group>
top

Simple Type: persistence-context-typeType

Super-types: xsd:string < persistence-context-typeType (by restriction)
Sub-types: None
Name persistence-context-typeType
Used by (from the same schema document) Complex Type persistence-context-refType
Content
  • Base XSD Type: string
  • value comes from list: {'Transactional'|'Extended'}
Diagram
Schema Component Representation
<xsd:simpleType name="persistence-context-typeType">
<xsd:restriction base=" xsd:string ">
<xsd:enumeration value="Transactional"/>
<xsd:enumeration value="Extended"/>
</xsd:restriction>
</xsd:simpleType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia" >
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice [1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1] ?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

  • The minimum and maximum occurrence of elements and attributes are provided in square brackets, e.g. [0..1].
  • Model group information are shown in gray, e.g. Start Choice ... End Choice.
  • For type derivations, the elements and attributes that have been added to or changed from the base type's content are shown in bold.
  • If an element/attribute has a fixed value, the fixed value is shown in green, e.g. country="Australia".
  • Otherwise, the type of the element/attribute is displayed.
    • If the element/attribute's type is in the schema, a link is provided to it.
    • For local simple type definitions, the constraints are displayed in angle brackets, e.g. <<pattern = [1-9][0-9]{3}>>.
  • If a local element/attribute has documentation, it will be displayed in a window that pops up when the question mark inside the attribute or next to the element is clicked, e.g. <postcode>.
Schema Component Representation
<complexType name="AusAddress">
<complexContent>
<extension base=" Address ">
<sequence>
<element name="state" type=" AusStates "/>
<element name="postcode">
<simpleType>
<restriction base=" string ">
<pattern value="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="country" type=" string " fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top

Copyright © 2003-2008, The Apache Software Foundation