db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: db-ojb/xdocs repository.xml
Date Sun, 16 Mar 2003 12:01:44 GMT
thma        2003/03/16 04:01:44

  Modified:    xdocs    repository.xml
  Log:
  add docu for latest changes (materialization-method and factory-method)
  
  Revision  Changes    Path
  1.15      +10 -0     db-ojb/xdocs/repository.xml
  
  Index: repository.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/xdocs/repository.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- repository.xml	19 Feb 2003 21:12:53 -0000	1.14
  +++ repository.xml	16 Mar 2003 12:01:44 -0000	1.15
  @@ -418,6 +418,14 @@
   <br/><br/>
   	The accept-locks attribute specifies whether implicit locking should
   	propagate to this class.  Currently relevant for the ODMG layer only.
  +<br/><br/>
  +	The optional initialization-method specifies a no-argument instance
  +	method that is invoked after reading an instnace from a database row.
  +	It can be used to do initialization and validations.
  +<br/><br/>	
  +	The optional factory-method specifies a static no-argument method
  +	that is to be used instead of a no argument constructor.<br/>
  +	Important note: this feature is not yet implemented.
   </p>
   <source><![CDATA[
   <!ATTLIST class-descriptor
  @@ -430,6 +438,8 @@
   	row-reader CDATA #IMPLIED
       extends IDREF #IMPLIED
   	accept-locks (true | false) "true"
  +	initialization-method CDATA #IMPLIED
  +	factory-method CDATA #IMPLIED
   >
   ]]></source>
   
  
  
  

Mime
View raw message