@Test public void shouldObtainPluginManager() { LOG.debug("------ Should Start PluginInterface Manager Test ------"); this.manager = PluginManager.getDefaultPluginManager(); Assert.assertNotNull(this.manager); }
public static synchronized PluginManager getDefaultPluginManager() { if (PluginManager.defaultPluginManager == null) { LOGGER.debug("Creating new default instance of the plugin manager"); PluginManager.defaultPluginManager = new PluginManager(); } return PluginManager.defaultPluginManager; }
PluginManager implements Observable { public static synchronized PluginManager getDefaultPluginManager() { if (PluginManager.defaultPluginManager == null) { LOGGER.debug("Creating new default instance of the plugin manager"); PluginManager.defaultPluginManager = new PluginManager(); } return PluginManager.defaultPluginManager; } }
PluginManager implements Observable { public static synchronized PluginManager getDefaultPluginManager() { if (PluginManager.defaultPluginManager == null) { LOGGER.debug("Creating new default instance of the plugin manager"); PluginManager.defaultPluginManager = new PluginManager(); } return PluginManager.defaultPluginManager; } private  PluginManager(); }
PluginManager implements Observable { public static synchronized PluginManager getDefaultPluginManager() { if (PluginManager.defaultPluginManager == null) { LOGGER.debug("Creating new default instance of the plugin manager"); PluginManager.defaultPluginManager = new PluginManager(); } return PluginManager.defaultPluginManager; } private  PluginManager(); static synchronized PluginManager getDefaultPluginManager(); void setup(); PluginInterface getPlugin(final String pluginID, final String version); PluginInterface getPlugin(final PluginInfo info); List<PluginInfo> getPluginInfo(); List<PluginInfo> getPluginInfo(final PluginType type); List<PluginInfo> getPluginInfo(final String name); PluginInfo getPluginInfo(final String name, final String version); void reScan(); ConfigUtils getConfig(); synchronized void shutdown(); File getPluginDirectory(); @Override boolean addObserver(ScoutComponentListener scoutComponent); @Override boolean removeObserver(ScoutComponentListener scoutComponent); @Override void notifyObservers(ScoutChangeEvent evt); @Override void clear(); }
PluginManager implements Observable { public static synchronized PluginManager getDefaultPluginManager() { if (PluginManager.defaultPluginManager == null) { LOGGER.debug("Creating new default instance of the plugin manager"); PluginManager.defaultPluginManager = new PluginManager(); } return PluginManager.defaultPluginManager; } private  PluginManager(); static synchronized PluginManager getDefaultPluginManager(); void setup(); PluginInterface getPlugin(final String pluginID, final String version); PluginInterface getPlugin(final PluginInfo info); List<PluginInfo> getPluginInfo(); List<PluginInfo> getPluginInfo(final PluginType type); List<PluginInfo> getPluginInfo(final String name); PluginInfo getPluginInfo(final String name, final String version); void reScan(); ConfigUtils getConfig(); synchronized void shutdown(); File getPluginDirectory(); @Override boolean addObserver(ScoutComponentListener scoutComponent); @Override boolean removeObserver(ScoutComponentListener scoutComponent); @Override void notifyObservers(ScoutChangeEvent evt); @Override void clear();  }