@Override public void stop() throws Exception { super.stop(); if (view != null) { view.unregister(); } } }
/** * We need to override this method * so that we can unregister the associated * MBean to avoid a memory leak. */ public void finalize() throws Throwable { if (view != null) { view.unregister(); } }
@Override public void stop() throws Exception { super.stop(); if (view != null) { view.unregister(); } } }
@Override public void stop() throws Exception { super.stop(); if (view != null) { view.unregister(); } } }
@Override public void stop() throws Exception { super.stop(); if (view != null) { view.unregister(); } } }