Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[ARIES-985] Improve robustness of JMX Blueprint Core bundle

git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1422908 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit e9a1d176b16a1965ea601297a3d1ce9652915a58 1 parent 18a59b5
@gnodet gnodet authored
View
3  jmx/jmx-blueprint-core/src/main/java/org/apache/aries/jmx/blueprint/impl/Activator.java
@@ -85,8 +85,7 @@ public Object addingService(ServiceReference servicereference) {
public void removedService(ServiceReference servicereference, Object obj) {
try {
LOGGER.debug("Removing MBeanServer: {}", servicereference);
- final MBeanServer mbeanServer = (MBeanServer) bundleContext.getService(servicereference);
- Activator.this.deregisterMBeans(mbeanServer);
+ Activator.this.deregisterMBeans((MBeanServer) obj);
} catch (Throwable e) {
LOGGER.debug("uncaught exception in removedService", e);
}
Please sign in to comment.
Something went wrong with that request. Please try again.