User: d_jencks
Date: 01/11/11 22:36:49
Modified: src/main/org/jboss/admin/mbean SystemMonitor.java
Log:
Changes to move toward eliminating init and destroy from Service interface, and make
J2eeDeployer use mbean-refs.
Revision Changes Path
1.4 +2 -5 admin/src/main/org/jboss/admin/mbean/SystemMonitor.java
Index: SystemMonitor.java
===================================================================
RCS file: /cvsroot/jboss/admin/src/main/org/jboss/admin/mbean/SystemMonitor.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SystemMonitor.java 2001/08/30 02:14:58 1.3
+++ SystemMonitor.java 2001/11/12 06:36:49 1.4
@@ -29,7 +29,7 @@
* ...
*
* @author Juha Lindfors ([EMAIL PROTECTED])
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public class SystemMonitor extends ServiceMBeanSupport
implements SystemMonitorMBean, MetricsConstants {
@@ -62,6 +62,7 @@
connection.start();
else {
+ //Well, since initService doesn't exist this should be here!
// this really should be in the initService() method but
// I couldn't figure out how to delay the initService()
// invocation until naming and spyder have completely started...
@@ -97,10 +98,6 @@
connection.stop();
}
catch (JMSException ignored) {}
- }
-
- public void destroyService() {
-
//try {
// If we close the connection it won't restart at startService()..
// Exceptions from JBossMQ.
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development