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 ar...@apache.org on 2004/06/27 15:54:50 UTC

cvs commit: db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess PersistentFieldAutoProxyImplNew.java

arminw      2004/06/27 06:54:50

  Modified:    src/java/org/apache/ojb/broker/metadata/fieldaccess
                        PersistentFieldAutoProxyImplNew.java
  Log:
  make PersistentField class array protected to
  allow easy enhancement of implementation
  
  Revision  Changes    Path
  1.4       +6 -1      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldAutoProxyImplNew.java
  
  Index: PersistentFieldAutoProxyImplNew.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldAutoProxyImplNew.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PersistentFieldAutoProxyImplNew.java	27 Jun 2004 13:50:33 -0000	1.3
  +++ PersistentFieldAutoProxyImplNew.java	27 Jun 2004 13:54:50 -0000	1.4
  @@ -30,7 +30,12 @@
    */
   public class PersistentFieldAutoProxyImplNew extends PersistentFieldBase
   {
  -    Class[] persistentFieldClasses = new Class[]{
  +    /**
  +     * Define the number and ordering of the used {@link PersistentField}
  +     * implementaions. Override this field to add new classes or to change
  +     * setection order.
  +     */
  +    protected Class[] persistentFieldClasses = new Class[]{
           PersistentFieldDirectAccessImplNew.class
           , PersistentFieldIntrospectorImplNew.class
           , PersistentFieldDynaBeanAccessImpl.class};
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org