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