gregw 2003/09/12 00:50:53
Modified: modules/core/src/schema geronimo-ejb-jar.xsd
Log:
jndi-name added to session and entity beans
patch from Aaron Mulder
Revision Changes Path
1.5 +18 -0
incubator-geronimo/modules/core/src/schema/geronimo-ejb-jar.xsd
Index: geronimo-ejb-jar.xsd
===================================================================
RCS file:
/home/cvs/incubator-geronimo/modules/core/src/schema/geronimo-ejb-jar.xsd,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- geronimo-ejb-jar.xsd 6 Sep 2003 00:01:14 -0000 1.4
+++ geronimo-ejb-jar.xsd 12 Sep 2003 07:50:53 -0000 1.5
@@ -231,6 +231,15 @@
<xsd:element name="security-role-ref"
type="j2ee:security-role-refType" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="security-identity"
type="j2ee:security-identityType" minOccurs="0"/>
<xsd:element name="query" type="j2ee:queryType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="jndi-name" type="xsd:string" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>
+ The JNDI name controls where this EJB will appear in the
application-wide JNDI
+ space. Other application components that want to refer to this
EJB can define
+ EJB references and map them to this JNDI location.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:ID"/>
</xsd:complexType>
@@ -390,6 +399,15 @@
<xsd:group ref="j2ee:jndiEnvironmentRefsGroup"/>
<xsd:element name="security-role-ref"
type="j2ee:security-role-refType" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="security-identity"
type="j2ee:security-identityType" minOccurs="0"/>
+ <xsd:element name="jndi-name" type="xsd:string" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>
+ The JNDI name controls where this EJB will appear in the
application-wide JNDI
+ space. Other application components that want to refer to this
EJB can define
+ EJB references and map them to this JNDI location.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:ID"/>
</xsd:complexType>