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/src/java/org/apache/ojb/broker/ta PersistenceBrokerFactoryIF.java PersistenceBrokerFactoryDefaultImpl.java
Date Sun, 09 Mar 2003 16:48:57 GMT
thma        2003/03/09 08:48:57

  Modified:    src/java/org/apache/ojb/broker PersistenceBrokerFactory.java
               src/java/org/apache/ojb/broker/ta
                        PersistenceBrokerFactoryIF.java
                        PersistenceBrokerFactoryDefaultImpl.java
  Log:
  remove deprecated methods
  
  Revision  Changes    Path
  1.17      +1 -11     db-ojb/src/java/org/apache/ojb/broker/PersistenceBrokerFactory.java
  
  Index: PersistenceBrokerFactory.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/PersistenceBrokerFactory.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- PersistenceBrokerFactory.java	9 Jan 2003 17:11:48 -0000	1.16
  +++ PersistenceBrokerFactory.java	9 Mar 2003 16:48:57 -0000	1.17
  @@ -104,16 +104,6 @@
       }
   
       /**
  -     * Return a default broker instance, specified in configuration.
  -     */
  -    public static PersistenceBroker defaultPersistenceBroker(String user, String password)
  -            throws PBFactoryException
  -    {
  -        return PersistenceBrokerFactoryFactory.instance().
  -                defaultPersistenceBroker(user, password);
  -    }
  -
  -    /**
        * Return a ready for action {@link org.apache.ojb.broker.PersistenceBroker} instance.
        * @param repositoryFile full qualified file name of the repository
        * @param user
  
  
  
  1.14      +1 -7      db-ojb/src/java/org/apache/ojb/broker/ta/PersistenceBrokerFactoryIF.java
  
  Index: PersistenceBrokerFactoryIF.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/ta/PersistenceBrokerFactoryIF.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- PersistenceBrokerFactoryIF.java	19 Feb 2003 22:10:16 -0000	1.13
  +++ PersistenceBrokerFactoryIF.java	9 Mar 2003 16:48:57 -0000	1.14
  @@ -98,12 +98,6 @@
               throws PBFactoryException;
   
       /**
  -     * Return a default broker instance.
  -     * @deprecated use one of the other methods to obtain an instance.
  -     */
  -    public PersistenceBroker defaultPersistenceBroker(String user, String password) throws
PBFactoryException;
  -
  -    /**
        * Return a default broker instance, specified in configuration
        * or set using {@link #setDefaultKey}.
        */
  
  
  
  1.38      +1 -11     db-ojb/src/java/org/apache/ojb/broker/ta/PersistenceBrokerFactoryDefaultImpl.java
  
  Index: PersistenceBrokerFactoryDefaultImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/ta/PersistenceBrokerFactoryDefaultImpl.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- PersistenceBrokerFactoryDefaultImpl.java	19 Feb 2003 22:10:16 -0000	1.37
  +++ PersistenceBrokerFactoryDefaultImpl.java	9 Mar 2003 16:48:57 -0000	1.38
  @@ -264,16 +264,6 @@
       }
   
       /**
  -     * @see org.apache.ojb.broker.ta.PersistenceBrokerFactoryIF#defaultPersistenceBroker
  -     */
  -    public PersistenceBroker defaultPersistenceBroker(String user, String password) throws
PBFactoryException
  -    {
  -        if (getDefaultKey() == null) throw new PBFactoryException("There was no default-PBKey
specified");
  -        return this.createPersistenceBroker(
  -                new PBKey(getDefaultKey().getAlias(), user, password));
  -    }
  -
  -    /**
        * @see org.apache.ojb.broker.ta.PersistenceBrokerFactoryIF#createPersistenceBroker(PBKey
key)
        */
       public PersistenceBroker defaultPersistenceBroker() throws PBFactoryException
  
  
  

Mime
View raw message