public void destroy() throws Exception { // Make the lifecycle callback invokeOptionalMethod(METHOD_NAME_LIFECYCLE_CALLBACK_DESTROY); // Unregister w/ MBean Server unregisterManagementInterface(); // Null out singleton = null; beanContext = null; // Call super impl super.destroy(); }