private ModuleLoader getModuleLoader() {
   final ModuleLoader loader = reference.get();
   if (loader == null) {
     throw new IllegalStateException("Module Loader is gone");
   }
   return loader;
 }
 public void reap(final Reference<ModuleLoader, ObjectName> reference) {
   REG_REF.removeMBean(reference.getAttachment());
 }