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/metadata MetadataManager.java
Date Sun, 24 Jul 2005 23:31:42 GMT
arminw      2005/07/24 16:31:42

  Modified:    src/java/org/apache/ojb/broker/metadata Tag: OJB_1_0_RELEASE
                        MetadataManager.java
  Log:
  add shutdown method
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.19.2.6  +10 -1     db-ojb/src/java/org/apache/ojb/broker/metadata/MetadataManager.java
  
  Index: MetadataManager.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/MetadataManager.java,v
  retrieving revision 1.19.2.5
  retrieving revision 1.19.2.6
  diff -u -r1.19.2.5 -r1.19.2.6
  --- MetadataManager.java	30 Apr 2005 19:38:10 -0000	1.19.2.5
  +++ MetadataManager.java	24 Jul 2005 23:31:41 -0000	1.19.2.6
  @@ -163,6 +163,15 @@
           }
       }
   
  +    public void shutdown()
  +    {
  +        threadedRepository = null;
  +        currentProfileKey = null;
  +        globalRepository = null;
  +        metadataProfiles = null;
  +        singleton = null;
  +    }
  +
       /**
        * Returns an instance of this class.
        */
  
  
  

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