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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]