Update of
/cvsroot/xdoclet/xdoclet/modules/objectweb/src/xdoclet/modules/objectweb/jonas/ejb/resources
In directory
sc8-pr-cvs1:/tmp/cvs-serv28707/xdoclet/modules/objectweb/src/xdoclet/modules/objectweb/jonas/ejb/resources
Modified Files:
jonas.xdt
Added Files:
jonas-ejb-jar_3_0.dtd
Log Message:
patch XDT-323
--- NEW FILE: jonas-ejb-jar_3_0.dtd ---
<?xml version='1.0' encoding='UTF-8' ?>
<!--
/*
* JOnAS: Java(TM) Open Application Server
* Copyright (C) 1999 Bull S.A.
* Contact: [EMAIL PROTECTED]
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
* Initial developer(s): France Telecom.
*
*
* $Id: jonas-ejb-jar_3_0.dtd,v 1.1 2003/02/24 15:08:18 rinkrank Exp $
*
*/
-->
<!--
This is XML DTD for jonas specific EJB 2.0 deployment descriptor information.
-->
<!--
The cleanup element specifies the policy about cleanup at bean loading.
Possible values are : none, create, removeall, removedata.
'none' is not implemented, the default value is 'create'.
Used in: jdbc-mapping
-->
<!ELEMENT cleanup (#PCDATA)>
<!--
The cmp-field-jdbc-mapping element declares the mapping of a container-managed field
of an entity to a column of a relational table.
It consists of
- the field's name,
- the column name of the relational table.
Used in: jdbc-mapping
-->
<!ELEMENT cmp-field-jdbc-mapping (field-name, jdbc-field-name)>
<!--
The ejb-name element specifies an enterprise bean's name.
Used in: jonas-entity, jonas-session, jonas-message-driven-bean
-->
<!ELEMENT ejb-name (#PCDATA)>
<!--
The ejb-ref-name element specifies the name of an ejb reference.
Used in: jonas-ejb-ref
-->
<!ELEMENT ejb-ref-name (#PCDATA)>
<!--
The field-name element specifies the name of a container managed field.
Used in: cmp-field-jdbc-mapping
-->
<!ELEMENT field-name (#PCDATA)>
<!--
The finder-method-jdbc-mapping element declares the SQL WHERE clause associated to a
finder method of a container-managed persistence entity.
It consists of
- the description of the finder method,
- the SQL WHERE clause.
This is used only for entity bean CMP1.
Used in: jdbc-mapping
-->
<!ELEMENT finder-method-jdbc-mapping (jonas-method, jdbc-where-clause)>
<!--
The is-modified-method-name element specifies the name of the is-modified method of a
entity.
Used in: jonas-entity
-->
<!ELEMENT is-modified-method-name (#PCDATA)>
<!--
The jdbc-field-name element specifies a column name of a relational table.
Used in: cmp-field-jdbc-mapping
-->
<!ELEMENT jdbc-field-name (#PCDATA)>
<!--
The jdbc-mapping element declares the mapping of an entity with container-managed
persistence to the underlying database.
It consists of
- the JNDI name of the datasource,
- the name of the relational table (CMP1 only)
- an optional flag to reinit tables at loading
- for each container-managed field, the associated column name in the table, (CMP1
only)
- for each finder method, the associated SQL WHERE clause. (CMP1 only)
Used in: jonas-entity
-->
<!ELEMENT jdbc-mapping (jndi-name, jdbc-table-name?, cmp-field-jdbc-mapping*,
finder-method-jdbc-mapping*)>
<!--
The jdbc-table-name element specifies a name of a relational table.
Used in: jdbc-mapping (for CMP1.x only)
-->
<!ELEMENT jdbc-table-name (#PCDATA)>
<!--
The jdbc-where-clause element specifies a SQL WHERE clause.
Used in: finder-method-jdbc-mapping (for CMP1.x only)
-->
<!ELEMENT jdbc-where-clause (#PCDATA)>
<!--
The jndi-name element specifies a JNDI name.
Used in: jdbc-mapping, jonas-entity, jonas-session, jonas-resource
-->
<!ELEMENT jndi-name (#PCDATA)>
<!--
The jonas-ejb-jar element is the root element of the JOnAS specific EJB deployment
descriptor.
It contains the JOnAS specific information about all included enterprise beans.
-->
<!ELEMENT jonas-ejb-jar (jonas-session | jonas-entity | jonas-message-driven)+>
<!--
The jonas-ejb-ref element declares the JOnAS specific information for a reference
to another enterprise bean's home.
It consists of
- the name of the ejb reference specified in the standard EJB deployment
descriptor,
- the JNDI name of the ejb.
Used in: jonas-entity, jonas-session, jonas-message-driven
-->
<!ELEMENT jonas-ejb-ref (ejb-ref-name, jndi-name)>
<!--
The jonas-entity element declares the JOnAS specific information for an entity.
It consists of
- the enterprise bean's name specified in the standard EJB deployment descriptor,
- the JNDI name of the enterprise bean's home,
- JOnAS specific information about the external resources referenced by the bean,
- JOnAS specific information about the reference to other enterprise's bean homes,
- optional is-modified method name,
- optional passivation-timeout,
- optional shared flag, must be defined True if bean persistent state can be accessed
outside JOnAS server,
- optional max-cache-size value, defining the max nb of instances in memory,
- optional min-pool-size value, defining the minimum instances precreated in pool,
- information of the mapping of the bean to the underlying database in case of
an entity with container-managed persistence.
Used in: jonas-ejb-jar
-->
<!ELEMENT jonas-entity (ejb-name, jndi-name?,
jonas-resource*, jonas-resource-env*, jonas-ejb-ref*,
is-modified-method-name?, passivation-timeout?,
shared?, max-cache-size?, min-pool-size?, cleanup?,
jdbc-mapping?)>
<!--
The jonas-message-driven-bean element declares the JOnAS specific information for
a message driven bean.
It consists of
- the enterprise bean's name specify in the standard EJB deployment descriptor,
- JOnAS specific information about the message-driven destination,
- JOnAS specific information about the external resources referenced by the bean,
- JOnAS specific information about the reference to other enterprise's bean homes.
Used in: jonas-ejb-jar
-->
<!ELEMENT jonas-message-driven (ejb-name, jonas-message-driven-destination,
jonas-resource*, jonas-resource-env*, jonas-ejb-ref*)>
<!--
The jonas-message-driven-destination element declares the JOnAS specific information
for
a the message driven bean destination.
It consists of
- the JNDI name of the message driven destination.
Used in: jonas-message-driven
-->
<!ELEMENT jonas-message-driven-destination (jndi-name)>
<!--
The jonas-method element is used to denote a method of the enterprise bean's home.
It consists of
- the method's name,
- optional method-params elements identify a single method among multiple methods
with an overloaded method name.
Used in: finder-method-jdbc-mapping
-->
<!ELEMENT jonas-method (method-name, method-params?)>
<!--
The jonas-resource element declares the JOnAS specific information for an external
resource referenced by a bean.
It consists of
- the name of the resource reference specified in the standard EJB deployment
descriptor,
- the JNDI name of the resource.
Used in: jonas-entity, jonas-session, jonas-message-driven
-->
<!ELEMENT jonas-resource (res-ref-name, jndi-name)>
<!--
The jonas-resource-env element declares the JOnAS specific information for an external
resource environment referenced by a bean.
It consists of
- the name of the resource environment reference specified in the standard EJB
deployment
descriptor,
- the JNDI name of the resource environment.
Used in: jonas-entity, jonas-session, jonas-message-driven
-->
<!ELEMENT jonas-resource-env (resource-env-ref-name, jndi-name)>
<!--
The jonas-session element declares the JOnAS specific information for a session.
It consists of
- the enterprise bean's name specify in the standard EJB deployment descriptor,
- the JNDI name of the enterprise bean's home,
- JOnAS specific information about the external resources referenced by the bean,
- JOnAS specific information about the reference to other enterprise's bean homes,
- optionnal session-timeout.
(Nota Bene: The time-out of the session will be specified there when it will be
implemented).
Used in: jonas-ejb-jar
-->
<!ELEMENT jonas-session (ejb-name, jndi-name?,
jonas-resource*, jonas-resource-env*, jonas-ejb-ref*,
session-timeout?)>
<!--
The max-cache-size value defines the max number of instances that can be hold in
memory.
The default value is infinite.
Used in: jonas-entity
-->
<!ELEMENT max-cache-size (#PCDATA)>
<!--
The method-name element contains a name of an enterprise bean method.
Used in: jonas-method
-->
<!ELEMENT method-name (#PCDATA)>
<!--
The method-param element contains the fully-qualified Java type name of a method
parameter.
Used in: method-params
-->
<!ELEMENT method-param (#PCDATA)>
<!--
The method-params element contains a list of the fully-qualified Java type names
of the method parameters.
Used in: jonas-method
-->
<!ELEMENT method-params (method-param*)>
<!--
The min-pool-size value specify the number of instances that will be created to
populate
the pool when the bean is loaded for the first time.
The default value is 0.
Used in: jonas-entity
-->
<!ELEMENT min-pool-size (#PCDATA)>
<!--
The passivation-timeout element specifies the value of timeout in seconds for
passivation of
entity instances when no transaction are used.
Used in: jonas-entity
-->
<!ELEMENT passivation-timeout (#PCDATA)>
<!--
The res-ref-name element specifies the name of a resource factory reference.
Used in: jonas-resource
-->
<!ELEMENT res-ref-name (#PCDATA)>
<!--
The resource-env-ref-name element specifies the name of a resource environment
reference.
Used in: jonas-resource-env
-->
<!ELEMENT resource-env-ref-name (#PCDATA)>
<!--
The session-timeout element specifies the value of timeout in seconds for expiration of
session instances.
Used in: jonas-session
-->
<!ELEMENT session-timeout (#PCDATA)>
<!--
The shared element specifies if the bean state can be accessed outside JOnAS.
Possible values are True or False (default is False).
Used in: jonas-entity
-->
<!ELEMENT shared (#PCDATA)>
Index: jonas.xdt
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/objectweb/src/xdoclet/modules/objectweb/jonas/ejb/resources/jonas.xdt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** jonas.xdt 31 Aug 2002 09:55:28 -0000 1.1
--- jonas.xdt 24 Feb 2003 15:08:17 -0000 1.2
***************
*** 219,268 ****
</XDtClass:ifHasClassTag>
! <XDtComment:comment><!-- jdbc-table-name --></XDtComment:comment>
! <XDtClass:ifHasClassTag tagName="jonas.jdbc-mapping"
paramName="jdbc-table-name">
! <jdbc-table-name><XDtClass:classTagValue tagName="jonas.jdbc-mapping"
paramName="jdbc-table-name" /></jdbc-table-name>
! </XDtClass:ifHasClassTag>
!
! <XDtComment:comment><!-- cmp-field-jdbc-mapping --></XDtComment:comment>
! <XDtMethod:forAllMethods tagName="ejb:persistent-field">
! <XDtMethod:ifHasMethodTag tagName="jonas.cmp-field-jdbc-mapping">
!
! <cmp-field-jdbc-mapping>
! <XDtComment:comment><!-- field-name --></XDtComment:comment>
! <XDtMethod:ifHasMethodTag tagName="jonas.cmp-field-jdbc-mapping"
paramName="field-name">
! <field-name><XDtMethod:methodTagValue tagName="jonas.cmp-field-jdbc-mapping"
paramName="field-name" /></field-name>
! </XDtMethod:ifHasMethodTag>
!
! <XDtComment:comment><!-- jdbc-field-name --></XDtComment:comment>
! <XDtMethod:ifHasMethodTag tagName="jonas.cmp-field-jdbc-mapping"
paramName="jdbc-field-name">
! <jdbc-field-name><XDtMethod:methodTagValue
tagName="jonas.cmp-field-jdbc-mapping" paramName="jdbc-field-name" /></jdbc-field-name>
! </XDtMethod:ifHasMethodTag>
! </cmp-field-jdbc-mapping>
! </XDtMethod:ifHasMethodTag>
! </XDtMethod:forAllMethods>
! <XDtComment:comment><!-- finder-method-jdbc-mapping
--></XDtComment:comment>
! <XDtClass:forAllClassTags tagName="jonas.finder-method-jdbc-mapping">
!
! <finder-method-jdbc-mapping>
! <XDtComment:comment><!-- jonas-method --></XDtComment:comment>
<jonas-method>
! <XDtComment:comment><!-- method-name --></XDtComment:comment>
! <XDtClass:ifHasClassTag tagName="jonas.finder-method-jdbc-mapping"
paramName="method-name">
! <method-name><XDtClass:classTagValue
tagName="jonas.finder-method-jdbc-mapping" paramName="method-name" /></method-name>
! </XDtClass:ifHasClassTag>
!
! <XDtComment:comment><!-- method-params --></XDtComment:comment>
! <XDtClass:ifHasClassTag tagName="jonas.finder-method-jdbc-mapping"
paramName="method-params">
! <method-params><XDtClass:classTagValue
tagName="jonas.finder-method-jdbc-mapping" paramName="method-params" /></method-params>
! </XDtClass:ifHasClassTag>
</jonas-method>
!
! <XDtComment:comment><!-- jdbc-where-clause --></XDtComment:comment>
! <XDtClass:ifHasClassTag tagName="jonas.finder-method-jdbc-mapping"
paramName="jdbc-where-clause">
! <jdbc-where-clause><![CDATA[<XDtClass:classTagValue
tagName="jonas.finder-method-jdbc-mapping" paramName="jdbc-where-clause"
/>]]></jdbc-where-clause>
! </XDtClass:ifHasClassTag>
! </finder-method-jdbc-mapping>
! </XDtClass:forAllClassTags>
</jdbc-mapping>
</XDtClass:ifHasClassTag>
--- 219,275 ----
</XDtClass:ifHasClassTag>
! <XDtEjbCmp:ifEntityIsCmp>
! <XDtEjbCmp:ifNotUsingCmp2>
! <XDtComment:comment><!-- jdbc-table-name --></XDtComment:comment>
! <XDtClass:ifHasClassTag tagName="jonas.jdbc-mapping"
paramName="jdbc-table-name">
! <jdbc-table-name>
! <XDtClass:classTagValue tagName="jonas.jdbc-mapping"
paramName="jdbc-table-name" /></jdbc-table-name>
! </XDtClass:ifHasClassTag>
!
! <XDtComment:comment><!-- cmp-field-jdbc-mapping --></XDtComment:comment>
! <XDtMethod:forAllMethods tagName="ejb:persistent-field">
! <XDtMethod:ifHasMethodTag tagName="jonas.cmp-field-jdbc-mapping">
!
! <cmp-field-jdbc-mapping>
! <XDtComment:comment><!-- field-name --></XDtComment:comment>
! <XDtMethod:ifHasMethodTag tagName="jonas.cmp-field-jdbc-mapping"
paramName="field-name">
! <field-name><XDtMethod:methodTagValue
tagName="jonas.cmp-field-jdbc-mapping" paramName="field-name" /></field-name>
! </XDtMethod:ifHasMethodTag>
!
! <XDtComment:comment><!-- jdbc-field-name --></XDtComment:comment>
! <XDtMethod:ifHasMethodTag tagName="jonas.cmp-field-jdbc-mapping"
paramName="jdbc-field-name">
! <jdbc-field-name><XDtMethod:methodTagValue
tagName="jonas.cmp-field-jdbc-mapping" paramName="jdbc-field-name" /></jdbc-field-name>
! </XDtMethod:ifHasMethodTag>
! </cmp-field-jdbc-mapping>
! </XDtMethod:ifHasMethodTag>
! </XDtMethod:forAllMethods>
!
! <XDtComment:comment><!-- finder-method-jdbc-mapping --></XDtComment:comment>
! <XDtClass:forAllClassTags tagName="jonas.finder-method-jdbc-mapping">
!
! <finder-method-jdbc-mapping>
! <XDtComment:comment><!-- jonas-method --></XDtComment:comment>
<jonas-method>
! <XDtComment:comment><!-- method-name --></XDtComment:comment>
! <XDtClass:ifHasClassTag tagName="jonas.finder-method-jdbc-mapping"
paramName="method-name">
! <method-name><XDtClass:classTagValue
tagName="jonas.finder-method-jdbc-mapping" paramName="method-name" /></method-name>
! </XDtClass:ifHasClassTag>
!
! <XDtComment:comment><!-- method-params --></XDtComment:comment>
! <XDtClass:ifHasClassTag tagName="jonas.finder-method-jdbc-mapping"
paramName="method-params">
! <method-params><XDtClass:classTagValue
tagName="jonas.finder-method-jdbc-mapping" paramName="method-params" /></method-params>
! </XDtClass:ifHasClassTag>
</jonas-method>
!
! <XDtComment:comment><!-- jdbc-where-clause --></XDtComment:comment>
! <XDtClass:ifHasClassTag tagName="jonas.finder-method-jdbc-mapping"
paramName="jdbc-where-clause">
! <jdbc-where-clause><![CDATA[<XDtClass:classTagValue
tagName="jonas.finder-method-jdbc-mapping" paramName="jdbc-where-clause"
/>]]></jdbc-where-clause>
! </XDtClass:ifHasClassTag>
! </finder-method-jdbc-mapping>
! </XDtClass:forAllClassTags>
! </XDtEjbCmp:ifNotUsingCmp2>
! </XDtEjbCmp:ifEntityIsCmp>
!
</jdbc-mapping>
</XDtClass:ifHasClassTag>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel