dain 2003/08/21 06:45:23
Modified: modules/core/src/java/org/apache/geronimo/common
AbstractStateManageable.java
Log:
Applied patch from Gianny Damour.
Changed notifications to set the source to the objectName instead of this.
Revision Changes Path
1.7 +2 -2
incubator-geronimo/modules/core/src/java/org/apache/geronimo/common/AbstractStateManageable.java
Index: AbstractStateManageable.java
===================================================================
RCS file:
/home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/common/AbstractStateManageable.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- AbstractStateManageable.java 20 Aug 2003 07:13:25 -0000 1.6
+++ AbstractStateManageable.java 21 Aug 2003 13:45:23 -0000 1.7
@@ -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++));
}
/**