@Test void dispose() throws Exception { ComponentManager componentManager = System.initialize(); TestComponent testComponent = componentManager.getInstance(TestRole.class); assertFalse(testComponent.isDisposed()); System.dispose(componentManager); assertTrue(testComponent.isDisposed()); }
public static void dispose(ComponentManager componentManager) { EmbeddableComponentManager ecm = (EmbeddableComponentManager) componentManager; ecm.dispose(); }
System { public static void dispose(ComponentManager componentManager) { EmbeddableComponentManager ecm = (EmbeddableComponentManager) componentManager; ecm.dispose(); } }
System { public static void dispose(ComponentManager componentManager) { EmbeddableComponentManager ecm = (EmbeddableComponentManager) componentManager; ecm.dispose(); } private  System(); }
System { public static void dispose(ComponentManager componentManager) { EmbeddableComponentManager ecm = (EmbeddableComponentManager) componentManager; ecm.dispose(); } private  System(); static ComponentManager initialize(ClassLoader classLoader); static ComponentManager initialize(); static ComponentManager initialize(File permanentDirectory); static ComponentManager initialize(File permanentDirectory, File resourceDirectory); static ComponentManager initialize(File permanentDirectory, File resourceDirectory, File temporaryDirectory); static ComponentManager initialize(File permanentDirectory, File resourceDirectory, File temporaryDirectory,
        ClassLoader classLoader); static void dispose(ComponentManager componentManager); }
System { public static void dispose(ComponentManager componentManager) { EmbeddableComponentManager ecm = (EmbeddableComponentManager) componentManager; ecm.dispose(); } private  System(); static ComponentManager initialize(ClassLoader classLoader); static ComponentManager initialize(); static ComponentManager initialize(File permanentDirectory); static ComponentManager initialize(File permanentDirectory, File resourceDirectory); static ComponentManager initialize(File permanentDirectory, File resourceDirectory, File temporaryDirectory); static ComponentManager initialize(File permanentDirectory, File resourceDirectory, File temporaryDirectory,
        ClassLoader classLoader); static void dispose(ComponentManager componentManager);  }