[JBoss-dev] CVS update: jbossmx/src/main/org/jbossmx/cluster/watchdog/mbean Watchdog.java
User: ejort Date: 02/03/23 13:10:59 Modified:src/main/org/jbossmx/cluster/watchdog/mbean Watchdog.java Log: JBoss/JBossMX integration. Also includes a fix to the cluster tests and a more complete ejblink test that currently fails Revision ChangesPath 1.6 +1 -5 jbossmx/src/main/org/jbossmx/cluster/watchdog/mbean/Watchdog.java Index: Watchdog.java === RCS file: /cvsroot/jboss/jbossmx/src/main/org/jbossmx/cluster/watchdog/mbean/Watchdog.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Watchdog.java 4 Dec 2001 22:34:01 - 1.5 +++ Watchdog.java 23 Mar 2002 21:10:59 - 1.6 @@ -1087,8 +1087,6 @@ { result = ((Integer) m_server.invoke(objectName, retrieveMBeanState, new Object[0], new String[0])).intValue(); - -//result = ((Integer) m_server.invoke(objectInstance.getObjectName(), getMBeanState, new Object[0], new String[0])).intValue(); } catch(Exception e) { @@ -1616,8 +1614,6 @@ Integer result = (Integer) m_server.invoke(objectName,retrieveMBeanState, new Object[0], new String[0]); -//m_server.invoke(objectInstance.getObjectName(), getMBeanState, new Object[0], new String[0]); - running = (result.intValue() == Startable.RUNNING); } catch(Exception e) @@ -1745,7 +1741,7 @@ m_watchdogEventManagerObjectName = objectName; m_watchdogEventManagerRemoteInterface = (WatchdogEventManagerRemoteInterface) -m_server.invoke(objectName, getRemoteInterface, new Object[0], new String[0]); +m_server.getAttribute(objectName, RemoteInterface); } /** ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmx/src/main/org/jbossmx/cluster/watchdog/mbean Watchdog.java
User: boissier Date: 01/12/04 14:34:02 Modified:src/main/org/jbossmx/cluster/watchdog/mbean Watchdog.java Log: * Remove some unnecessary String creations, because String objects are immutable, so using new String(x) always results in extra overhead. Revision ChangesPath 1.5 +1 -1 jbossmx/src/main/org/jbossmx/cluster/watchdog/mbean/Watchdog.java Index: Watchdog.java === RCS file: /cvsroot/jboss/jbossmx/src/main/org/jbossmx/cluster/watchdog/mbean/Watchdog.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Watchdog.java 2001/11/26 03:24:52 1.4 +++ Watchdog.java 2001/12/04 22:34:01 1.5 @@ -522,7 +522,7 @@ try { m_server.addNotificationListener(new ObjectName(com.sun.management.jmx.ServiceName.DELEGATE), -this, null, new String(local)); +this, null, local); } catch (InstanceNotFoundException infe) {} catch (MalformedObjectNameException mone) {} ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmx/src/main/org/jbossmx/cluster/watchdog/mbean Watchdog.java
User: starksm Date: 01/11/25 19:24:52 Modified:src/main/org/jbossmx/cluster/watchdog/mbean Watchdog.java Log: Drop the org.jboss.ejb.DeploymentException in favor of the org.jboss.deployment.DeploymentException class. Use the org.jboss.logging.Logger.getLogger factory method. Revision ChangesPath 1.4 +1 -1 jbossmx/src/main/org/jbossmx/cluster/watchdog/mbean/Watchdog.java Index: Watchdog.java === RCS file: /cvsroot/jboss/jbossmx/src/main/org/jbossmx/cluster/watchdog/mbean/Watchdog.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Watchdog.java 2001/10/08 16:52:59 1.3 +++ Watchdog.java 2001/11/26 03:24:52 1.4 @@ -2024,5 +2024,5 @@ /** The maximum number of times to attempt machine restart */ private static final int MAX_NUM_TIMES_TO_ATTEMPT_MACHINE_RESTART = 0; -private static Logger LOG = Logger.create(Watchdog.class.getName()); +private static Logger LOG = Logger.getLogger(Watchdog.class); } ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development