You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by th...@apache.org on 2003/07/22 23:08:09 UTC
cvs commit: db-ojb/src/test/org/apache/ojb repository.dtd
thma 2003/07/22 14:08:09
Modified: src/test/org/apache/ojb repository.dtd
Log:
provide support for factory classes
Revision Changes Path
1.42 +4 -1 db-ojb/src/test/org/apache/ojb/repository.dtd
Index: repository.dtd
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/repository.dtd,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- repository.dtd 2 May 2003 12:24:32 -0000 1.41
+++ repository.dtd 22 Jul 2003 21:08:09 -0000 1.42
@@ -317,8 +317,10 @@
It can be used to do initialization and validations.
The optional factory-method specifies a static no-argument method
+ (specified by the factory-class attribute)
that is to be used instead of a no argument constructor.
- Important note: this feature is not yet implemented.
+ If either factory-class or factory-method is specified, the other
+ is mandatory.
The refresh attribute can be set to true to force OJB to refresh
instances when loaded from cache. It's set to false by default.
@@ -335,6 +337,7 @@
extends IDREF #IMPLIED
accept-locks (true | false) "true"
initialization-method CDATA #IMPLIED
+ factory-class CDATA #IMPLIED
factory-method CDATA #IMPLIED
refresh (true | false) "false"
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org