Skip to content

Commit

Permalink
multiple beans registration in SecureSPARQL11Handler
Browse files Browse the repository at this point in the history
  • Loading branch information
lroffia committed Jun 16, 2021
1 parent dfc3df5 commit f4ddbf8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public SPARQL11Handler(Scheduler scheduler, String queryPath, String updatePath)
this.updatePath = updatePath;

// JMX
SEPABeans.registerMBean("SEPA:type=" + this.getClass().getSimpleName(), this);
if(this.getClass().getSimpleName().equals("SPARQL11Handler")) SEPABeans.registerMBean("SEPA:type=" + this.getClass().getSimpleName(), this);
}

protected ClientAuthorization authorize(HttpRequest request) throws SEPASecurityException {
Expand Down

0 comments on commit f4ddbf8

Please sign in to comment.