[jboss-cvs] JBoss Messaging SVN: r5533 - in trunk/src/main/org/jboss/messaging/core/management: impl and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Dec 15 08:31:25 EST 2008
Author: jmesnil
Date: 2008-12-15 08:31:25 -0500 (Mon, 15 Dec 2008)
New Revision: 5533
Modified:
trunk/src/main/org/jboss/messaging/core/management/MessagingServerControlMBean.java
trunk/src/main/org/jboss/messaging/core/management/impl/MessagingServerControl.java
trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareMessagingServerControlWrapper.java
Log:
added BackupConnectorName attribute
remoted BackupConnectorConfiguration attribute
Modified: trunk/src/main/org/jboss/messaging/core/management/MessagingServerControlMBean.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/management/MessagingServerControlMBean.java 2008-12-15 13:24:47 UTC (rev 5532)
+++ trunk/src/main/org/jboss/messaging/core/management/MessagingServerControlMBean.java 2008-12-15 13:31:25 UTC (rev 5533)
@@ -26,7 +26,6 @@
import static javax.management.MBeanOperationInfo.INFO;
import java.util.List;
-import java.util.Map;
import javax.management.openmbean.TabularData;
@@ -39,7 +38,7 @@
{
// Attributes ----------------------------------------------------
- public Map<String, Object> getBackupConnectorConfiguration();
+ public String getBackupConnectorName();
String getVersion();
Modified: trunk/src/main/org/jboss/messaging/core/management/impl/MessagingServerControl.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/management/impl/MessagingServerControl.java 2008-12-15 13:24:47 UTC (rev 5532)
+++ trunk/src/main/org/jboss/messaging/core/management/impl/MessagingServerControl.java 2008-12-15 13:31:25 UTC (rev 5533)
@@ -180,11 +180,9 @@
return configuration.isBackup();
}
- //FIXME
- public Map<String, Object> getBackupConnectorConfiguration()
+ public String getBackupConnectorName()
{
- // TODO Auto-generated method stub
- return null;
+ return configuration.getBackupConnectorName();
}
public String getBindingsDirectory()
Modified: trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareMessagingServerControlWrapper.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareMessagingServerControlWrapper.java 2008-12-15 13:24:47 UTC (rev 5532)
+++ trunk/src/main/org/jboss/messaging/core/management/jmx/impl/ReplicationAwareMessagingServerControlWrapper.java 2008-12-15 13:31:25 UTC (rev 5533)
@@ -64,11 +64,12 @@
// MessagingServerControlMBean implementation ------------------------------
- public Map<String, Object> getBackupConnectorConfiguration()
+
+ public String getBackupConnectorName()
{
- return localControl.getBackupConnectorConfiguration();
+ return localControl.getBackupConnectorName();
}
-
+
public String getBindingsDirectory()
{
return localControl.getBindingsDirectory();
More information about the jboss-cvs-commits
mailing list