Author: remy.maucherat(a)jboss.com
Date: 2008-05-27 13:28:10 -0400 (Tue, 27 May 2008)
New Revision: 643
Modified:
trunk/java/org/jboss/web/cluster/ClusterListener.java
trunk/java/org/jboss/web/cluster/mbeans-descriptors.xml
Log:
- Forgot one JMX operation.
Modified: trunk/java/org/jboss/web/cluster/ClusterListener.java
===================================================================
--- trunk/java/org/jboss/web/cluster/ClusterListener.java 2008-05-27 14:50:21 UTC (rev
642)
+++ trunk/java/org/jboss/web/cluster/ClusterListener.java 2008-05-27 17:28:10 UTC (rev
643)
@@ -255,7 +255,7 @@
* Refresh configuration. To be used through JMX or similar.
*/
public void refresh() {
- // Set as error, and the periodic
+ // Set as error, and the periodic event will refresh the configuration
if (state == State.OK) {
state = State.ERROR;
}
Modified: trunk/java/org/jboss/web/cluster/mbeans-descriptors.xml
===================================================================
--- trunk/java/org/jboss/web/cluster/mbeans-descriptors.xml 2008-05-27 14:50:21 UTC (rev
642)
+++ trunk/java/org/jboss/web/cluster/mbeans-descriptors.xml 2008-05-27 17:28:10 UTC (rev
643)
@@ -33,6 +33,11 @@
description="Connection timeout for communication with the
proxy"
type="int"/>
+ <operation name="refresh"
+ description="Refresh configuration"
+ impact="ACTION"
+ returnType="void"/>
+
<operation name="reset"
description="Move the node out of an error state"
impact="ACTION"