db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/core/proxy VirtualProxy.java
Date Thu, 27 Jan 2005 00:10:33 GMT
arminw      2005/01/26 16:10:33

  Modified:    src/java/org/apache/ojb/broker/core/proxy Tag:
                        OJB_1_0_RELEASE VirtualProxy.java
  Log:
  add JDK 1.2 support
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.1   +14 -7     db-ojb/src/java/org/apache/ojb/broker/core/proxy/VirtualProxy.java
  
  Index: VirtualProxy.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/core/proxy/VirtualProxy.java,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- VirtualProxy.java	9 Apr 2004 13:22:29 -0000	1.1
  +++ VirtualProxy.java	27 Jan 2005 00:10:33 -0000	1.1.2.1
  @@ -17,13 +17,17 @@
   
   
   
  -import org.apache.ojb.broker.Identity;
  -import org.apache.ojb.broker.PBKey;
  -import org.apache.ojb.broker.PersistenceBrokerException;
  -
   import java.lang.reflect.Constructor;
   import java.lang.reflect.InvocationHandler;
   
  +import org.apache.ojb.broker.Identity;
  +import org.apache.ojb.broker.PBKey;
  +import org.apache.ojb.broker.PersistenceBrokerException;
  +//#else
  +/*
  +import net.sf.cglib.proxy.InvocationHandler;
  +*/
  +//#endif
   
   /**
    * Proxy base class. can be used to implement lazy materialization techniques.
  @@ -34,8 +38,11 @@
    */
   public abstract class VirtualProxy implements java.io.Serializable
   {
  -	static final long serialVersionUID = -3999451313262635171L;    /**
  -     * reference to the IndirectionHandler that encapsulates the delegation mechanism */
  +	static final long serialVersionUID = -3999451313262635171L;
  +
  +    /**
  +     * reference to the IndirectionHandler that encapsulates the delegation mechanism
  +     * */
       private IndirectionHandler indirectionHandler = null;
   
       /**
  
  
  

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


Mime
View raw message