Hello,


Notifications sent by AbstractManagedObject have a wrong source.

Cheers,
Gianny

_________________________________________________________________
MSN Messenger 6 http://g.msn.fr/FR1001/866 : ajoutez une image � votre pseudo pour dialoguer avec vos amis
Index: modules/core/src/java/org/apache/geronimo/common/AbstractStateManageable.java
===================================================================
RCS file: /home/cvspublic/incubator-geronimo/modules/core/src/java/org/apache/geronimo/common/AbstractStateManageable.java,v
retrieving revision 1.6
diff -u -r1.6 AbstractStateManageable.java
--- modules/core/src/java/org/apache/geronimo/common/AbstractStateManageable.java 20 Aug 2003 07:13:25 -0000 1.6
+++ modules/core/src/java/org/apache/geronimo/common/AbstractStateManageable.java 21 Aug 2003 08:24:22 -0000
@@ -425,7 +425,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++));
}


/**
Index: modules/core/src/java/org/apache/geronimo/management/AbstractManagedObject.java
===================================================================
RCS file: /home/cvspublic/incubator-geronimo/modules/core/src/java/org/apache/geronimo/management/AbstractManagedObject.java,v
retrieving revision 1.1
diff -u -r1.1 AbstractManagedObject.java
--- modules/core/src/java/org/apache/geronimo/management/AbstractManagedObject.java 21 Aug 2003 04:32:13 -0000 1.1
+++ modules/core/src/java/org/apache/geronimo/management/AbstractManagedObject.java 21 Aug 2003 08:24:30 -0000
@@ -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