dain        2003/08/21 06:41:19

  Modified:    modules/core/src/java/org/apache/geronimo/management
                        AbstractManagedObject.java
  Log:
  Applied patch from Gianny Damour.
  
  Fixed notifications to set the source to objectName instead of this.
  
  Revision  Changes    Path
  1.2       +2 -2      
incubator-geronimo/modules/core/src/java/org/apache/geronimo/management/AbstractManagedObject.java
  
  Index: AbstractManagedObject.java
  ===================================================================
  RCS file: 
/home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/management/AbstractManagedObject.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractManagedObject.java        21 Aug 2003 04:32:13 -0000      1.1
  +++ AbstractManagedObject.java        21 Aug 2003 13:41:19 -0000      1.2
  @@ -266,7 +266,7 @@
        */
       private final void doNotification(String type) {
           assert !Thread.holdsLock(this): "This method cannot be called while 
holding a syncrhonized lock on this";
  -        sendNotification(new Notification(type, this, sequenceNumber++));
  +        sendNotification(new Notification(type, objectName, 
sequenceNumber++));
       }
   
       public synchronized final long getStartTime() {
  
  
  

Reply via email to