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/util ProxyHelper.java
Date Fri, 30 Jan 2004 18:34:30 GMT
arminw      2004/01/30 10:34:30

  Modified:    src/java/org/apache/ojb/broker/util ProxyHelper.java
  Log:
  fix method argument, use PB interface instead of PBImpl class
  
  Revision  Changes    Path
  1.21      +3 -7      db-ojb/src/java/org/apache/ojb/broker/util/ProxyHelper.java
  
  Index: ProxyHelper.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/ProxyHelper.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- ProxyHelper.java	28 Nov 2003 14:39:59 -0000	1.20
  +++ ProxyHelper.java	30 Jan 2004 18:34:30 -0000	1.21
  @@ -59,17 +59,15 @@
   //#else
   /*
   import com.develop.java.lang.reflect.Proxy;
  -import com.develop.java.lang.reflect.InvocationHandler;
   */
   //#endif
  -
   import java.lang.reflect.Constructor;
  -
   import java.util.List;
   import java.util.Set;
   
   import org.apache.ojb.broker.ManageableCollection;
   import org.apache.ojb.broker.PBKey;
  +import org.apache.ojb.broker.PersistenceBroker;
   import org.apache.ojb.broker.PersistenceBrokerException;
   import org.apache.ojb.broker.VirtualProxy;
   import org.apache.ojb.broker.accesslayer.CollectionProxy;
  @@ -77,13 +75,11 @@
   import org.apache.ojb.broker.accesslayer.ListProxy;
   import org.apache.ojb.broker.accesslayer.SetProxy;
   import org.apache.ojb.broker.core.PersistenceBrokerConfiguration;
  -import org.apache.ojb.broker.core.PersistenceBrokerImpl;
   import org.apache.ojb.broker.query.Query;
   import org.apache.ojb.broker.util.configuration.impl.OjbConfigurator;
   import org.apache.ojb.broker.util.logging.Logger;
   import org.apache.ojb.broker.util.logging.LoggerFactory;
   
  -
   /**
    * ProxyHelper used to get the real thing behind a proxy
    *
  @@ -330,7 +326,7 @@
        * @param collectionClass the class to build the proxy for
        * @return the CollectionProxy
        */
  -    public static final ManageableCollection createCollectionProxy(PersistenceBrokerImpl
broker, Query query, Class collectionClass)
  +    public static final ManageableCollection createCollectionProxy(PersistenceBroker broker,
Query query, Class collectionClass)
       {
           Object param[] = { broker.getPBKey(), collectionClass, query };
   
  
  
  

---------------------------------------------------------------------
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