User: thedug
Date: 01/06/01 00:42:10
Modified: src/resources/org/jboss/metadata jboss.dtd
Log:
Added commit option D
Also added the <optiond-refresh-rate> tag
Revision Changes Path
1.8 +12 -2 jboss/src/resources/org/jboss/metadata/jboss.dtd
Index: jboss.dtd
===================================================================
RCS file: /cvsroot/jboss/jboss/src/resources/org/jboss/metadata/jboss.dtd,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- jboss.dtd 2001/05/09 07:22:10 1.7
+++ jboss.dtd 2001/06/01 07:42:10 1.8
@@ -58,6 +58,7 @@
<container-cache-conf />
<container-pool-conf />
<commit-option />
+ <optiond-refresh-rate />
<role-mapping-manager/>
<authentication-module/>
</container-configuration>
@@ -330,7 +331,7 @@
<!ELEMENT container-configuration (container-name, call-logging, container-invoker,
container-interceptors?, instance-pool?, instance-cache? , persistence-manager? ,
transaction-manager? , container-invoker-conf? , container-cache-conf? ,
container-pool-conf?,
-commit-option? , (role-mapping-manager, authentication-module?)?)>
+commit-option? , optiond-refresh-rate?, (role-mapping-manager,
authentication-module?)?)>
<!--
The configuration-class attribute is used to indicate the
@@ -648,7 +649,7 @@
This option is only used for entity container configurations.
The commit-option element tells the container which option to use for
transactions.
- Its value must be A, B or C.
+ Its value must be A, B C, or D.
- option A: the entiry instance has exclusive access to the database. The
instance
stays ready after a transaction.
@@ -656,12 +657,21 @@
The state is loaded before the next transaction.
- option C: same as B, except the container does not keep the instance after
commit:
a passivate is immediately performed after the commit.
+
+ - option D: a lazy update. default is every 30 secs.
+ can be updated with <optiond-refresh-rate>
See ejb1.1 specification for details (p118).
Used in: container-configuration
-->
<!ELEMENT commit-option (#PCDATA)>
+
+<!--
+ This element is used to specify the refresh rate of commit option d
+ -->
+<!ELEMENT optiond-refresh-rate (#PCDATA)>
+
<!--
The role-mapping-manager element specifies the JNDI name of the
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development