commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bali...@apache.org
Subject cvs commit: jakarta-commons-sandbox/simplestore/src/java/org/apache/commons/simplestore/persistence/impl PersistenceManagerImpl.java
Date Mon, 05 Aug 2002 20:08:55 GMT
baliuka     2002/08/05 13:08:55

  Modified:    simplestore/src/java/org/apache/commons/simplestore/persistence
                        PersistenceManager.java
               simplestore/src/java/org/apache/commons/simplestore/persistence/impl
                        PersistenceManagerImpl.java
  Log:
  
  
  Revision  Changes    Path
  1.8       +3 -1      jakarta-commons-sandbox/simplestore/src/java/org/apache/commons/simplestore/persistence/PersistenceManager.java
  
  Index: PersistenceManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/simplestore/src/java/org/apache/commons/simplestore/persistence/PersistenceManager.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PersistenceManager.java	5 Aug 2002 20:02:02 -0000	1.7
  +++ PersistenceManager.java	5 Aug 2002 20:08:55 -0000	1.8
  @@ -54,6 +54,8 @@
    */
   package org.apache.commons.simplestore.persistence;
   
  +import java.beans.*;
  +
   /** This interface is designed for Simplestore user,
    * use PersistentManagerFactory to setup PersistentManager
    *   <pre>
  
  
  
  1.11      +7 -1      jakarta-commons-sandbox/simplestore/src/java/org/apache/commons/simplestore/persistence/impl/PersistenceManagerImpl.java
  
  Index: PersistenceManagerImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/simplestore/src/java/org/apache/commons/simplestore/persistence/impl/PersistenceManagerImpl.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- PersistenceManagerImpl.java	5 Aug 2002 20:02:02 -0000	1.10
  +++ PersistenceManagerImpl.java	5 Aug 2002 20:08:55 -0000	1.11
  @@ -62,6 +62,8 @@
   import java.util.HashMap;
   import java.util.Set;
   
  +import java.beans.*;
  +
   /**
    *@author     Juozas Baliuka <a href="mailto:baliuka@mwm.lt">
    *      baliuka@mwm.lt</a>
  @@ -175,9 +177,13 @@
       }
       
       public void addPropertyChangeListener(Class clasz, PropertyChangeListener listener)
{
  +        
  +        context.getMetaClass(clasz).addPropertyChangeListener( listener );
       }
       
       public void removePropertyChangeListener(Class clasz, PropertyChangeListener listener)
{
  +        
  +         context.getMetaClass(clasz).removePropertyChangeListener( listener );
       }
       
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message