Skip to content

Commit

Permalink
#872: Aligned hawtio registry mbean to be like the others.
Browse files Browse the repository at this point in the history
  • Loading branch information
davsclaus committed Dec 18, 2013
1 parent 2ccbcc0 commit afdd341
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hawtio-web/src/main/java/io/hawt/jmx/PluginRegistry.java
Expand Up @@ -50,7 +50,7 @@ public void init() {

@Override
protected ObjectName getObjectName() throws Exception {
return new ObjectName("hawtio:type=registry");
return new ObjectName("hawtio:type=Registry");
}

protected NotificationListener getNotificationListener() {
Expand Down
4 changes: 2 additions & 2 deletions hawtio-web/src/main/webapp/app/core/js/workspace.ts
Expand Up @@ -110,11 +110,11 @@ module Core {
}

public maybeMonitorPlugins() {
if (this.treeContainsDomainAndProperties("hawtio", {type: "registry"})) {
if (this.treeContainsDomainAndProperties("hawtio", {type: "Registry"})) {
if (this.pluginRegisterHandle === null) {
this.pluginRegisterHandle = this.jolokia.register(angular.bind(this, this.maybeUpdatePlugins), {
type: "read",
mbean: "hawtio:type=registry",
mbean: "hawtio:type=Registry",
attribute: "UpdateCounter"
});
}
Expand Down

0 comments on commit afdd341

Please sign in to comment.