Skip to content

Commit

Permalink
MODCLUSTER-529 MBeans descriptions are not loaded in JMX for ModClust…
Browse files Browse the repository at this point in the history
…erListener
  • Loading branch information
rhusar committed Jul 28, 2016
1 parent f6574ab commit bcae432
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
import java.util.concurrent.TimeUnit;

/**
* Non-clustered mod_cluster lifecycle listener for use in JBoss Web standalone and Tomcat.
* Mod_cluster lifecycle listener for use in Tomcat.
*
* @author Paul Ferraro
*/
Expand Down Expand Up @@ -129,7 +129,7 @@ public void lifecycleEvent(LifecycleEvent event) {
try {
ObjectName name = this.getObjectName(server);

Registry.getRegistry(null, null).registerComponent(this, name, null);
Registry.getRegistry(null, null).registerComponent(this, name, ModClusterListener.class.getName());
} catch (Exception e) {
log.error(e.getLocalizedMessage(), e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
description="Lifecycle listener for mod_cluster"
domain="Catalina"
group="Listener"
type="org.jboss.modcluster.tomcat.ModClusterListener">
type="org.jboss.modcluster.container.tomcat.ModClusterListener">

<attribute name="className"
description="Fully qualified class name of the managed object"
Expand All @@ -25,7 +25,7 @@
description="Get information about what is registered with each mod_cluster, per proxy"
type="java.util.Map"
writeable="false"/>

<attribute name="proxyList"
description="Comma delimited list of proxy servers"
type="java.lang.String"/>
Expand Down Expand Up @@ -98,17 +98,17 @@
description="Refresh configuration"
impact="ACTION"
returnType="void"/>

<operation name="reset"
description="Move the node out of an error state"
impact="ACTION"
returnType="void"/>

<operation name="disable"
description="Disable all webapps for all engines"
impact="ACTION"
returnType="boolean"/>

<operation name="disableContext"
description="Disable a single webapp"
impact="ACTION"
Expand All @@ -120,12 +120,12 @@
description="Context path of the webapp"
type="java.lang.String"/>
</operation>

<operation name="enable"
description="Enable all webapps for all engines"
impact="ACTION"
returnType="boolean"/>

<operation name="enableContext"
description="Enable a single webapp"
impact="ACTION"
Expand All @@ -149,7 +149,7 @@
description="Time unit of the timeout parameter"
type="java.util.concurrent.TimeUnit"/>
</operation>

<operation name="stopContext"
description="Gracefully stops a single webapp"
impact="ACTION"
Expand All @@ -167,7 +167,7 @@
description="Time unit of the timeout parameter"
type="java.util.concurrent.TimeUnit"/>
</operation>

<operation name="addProxy"
description="Add a proxy"
impact="ACTION"
Expand Down

0 comments on commit bcae432

Please sign in to comment.