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/singlevm LoadedObjectsRegistry.java
Date Thu, 27 Feb 2003 18:34:13 GMT
thma        2003/02/27 10:34:13

  Modified:    src/java/org/apache/ojb/broker/singlevm
                        LoadedObjectsRegistry.java
  Log:
  LoadedObjectRegistry fix by jamie burns
  
  Revision  Changes    Path
  1.2       +12 -1     db-ojb/src/java/org/apache/ojb/broker/singlevm/LoadedObjectsRegistry.java
  
  Index: LoadedObjectsRegistry.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/singlevm/LoadedObjectsRegistry.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LoadedObjectsRegistry.java	11 Nov 2002 21:53:08 -0000	1.1
  +++ LoadedObjectsRegistry.java	27 Feb 2003 18:34:13 -0000	1.2
  @@ -83,4 +83,15 @@
       {
           return (registry.get(object) != null);
       }
  +    
  +    public static void clear()
  +    {
  +        registry.clear();
  +    }
  +    
  +    public static void remove(Object object)
  +    {
  +        if(object != null)
  +            registry.remove(object);
  +    }
   }
  
  
  

Mime
View raw message