[prev in list] [next in list] [prev in thread] [next in thread]
List: slide-dev
Subject: cvs commit: jakarta-slide/src/share/org/apache/slide/common Slide.java
From: remm () locus ! apache ! org
Date: 2000-09-19 17:23:18
[Download RAW message or body]
remm 00/09/19 10:23:18
Modified: src/share/org/apache/slide/common Slide.java
Log:
Updated to JMX 1.0. It should also fix the nightly builds.
Revision Changes Path
1.2 +19 -24 jakarta-slide/src/share/org/apache/slide/common/Slide.java
Index: Slide.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/common/Slide.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Slide.java 2000/08/29 18:55:02 1.1
+++ Slide.java 2000/09/19 17:23:17 1.2
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/common/Slide.java,v \
1.1 2000/08/29 18:55:02 remm Exp $
- * $Revision: 1.1 $
- * $Date: 2000/08/29 18:55:02 $
+ * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/common/Slide.java,v \
1.2 2000/09/19 17:23:17 remm Exp $ + * $Revision: 1.2 $
+ * $Date: 2000/09/19 17:23:17 $
*
* ====================================================================
*
@@ -94,7 +94,7 @@
* Implementation of the Slide JMX MBean.
*
* @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public final class Slide
extends NotificationBroadcasterSupport
@@ -216,10 +216,9 @@
// Notifying the MBEan server that we're starting
notification = new AttributeChangeNotification
- (AttributeChangeNotification.ATTRIBUTE_CHANGE,
- this, sequenceNumber++, new Date(), "Starting " + NAME,
- "State", "java.lang.Integer", new Integer(STOPPED),
- new Integer(STARTING));
+ (this, sequenceNumber++, System.currentTimeMillis(),
+ "Starting " + NAME, "State", "java.lang.Integer",
+ new Integer(STOPPED), new Integer(STARTING));
sendNotification(notification);
try {
@@ -249,19 +248,17 @@
} catch (Throwable t) {
state = STOPPED;
notification = new AttributeChangeNotification
- (AttributeChangeNotification.ATTRIBUTE_CHANGE,
- this, sequenceNumber++, new Date(), "Stopped " + NAME,
- "State", "java.lang.Integer", new Integer(STARTING),
- new Integer(STOPPED));
+ (this, sequenceNumber++, System.currentTimeMillis(),
+ "Stopped " + NAME, "State", "java.lang.Integer",
+ new Integer(STARTING), new Integer(STOPPED));
sendNotification(notification);
}
state = STARTED;
notification = new AttributeChangeNotification
- (AttributeChangeNotification.ATTRIBUTE_CHANGE,
- this, sequenceNumber++, new Date(), "Started " + NAME,
- "State", "java.lang.Integer", new Integer(STARTING),
- new Integer(STARTED));
+ (this, sequenceNumber++, System.currentTimeMillis(),
+ "Started " + NAME, "State", "java.lang.Integer",
+ new Integer(STARTING), new Integer(STARTED));
sendNotification(notification);
}
@@ -280,10 +277,9 @@
state = STOPPING;
notification = new AttributeChangeNotification
- (AttributeChangeNotification.ATTRIBUTE_CHANGE,
- this, sequenceNumber++, new Date(), "Stopping " + NAME,
- "State", "java.lang.Integer", new Integer(STARTED),
- new Integer(STOPPING));
+ (this, sequenceNumber++, System.currentTimeMillis(),
+ "Stopping " + NAME, "State", "java.lang.Integer",
+ new Integer(STARTED), new Integer(STOPPING));
sendNotification(notification);
@@ -293,10 +289,9 @@
state = STOPPED;
notification = new AttributeChangeNotification
- (AttributeChangeNotification.ATTRIBUTE_CHANGE,
- this, sequenceNumber++, new Date(), "Stopped " + NAME,
- "State", "java.lang.Integer", new Integer(STOPPING),
- new Integer(STOPPED));
+ (this, sequenceNumber++, System.currentTimeMillis(),
+ "Stopped " + NAME, "State", "java.lang.Integer",
+ new Integer(STOPPING), new Integer(STOPPED));
sendNotification(notification);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic