@Override public Furnace getFurnace(ClassLoader loader) { return SimpleContainer.getFurnace(loader); }
private Imported<ProjectCache> getCaches() { if (caches == null) { caches = SimpleContainer.getServices(getClass().getClassLoader(), ProjectCache.class); } return caches; }
@Override public void stop(Addon addon) throws Exception { SimpleContainer.stop(addon); if (this.serviceRegistry != null) { serviceRegistry.close(); } this.serviceRegistry = null; this.eventManager = null; }
static void start(Addon addon, Furnace furnace) { started.put(addon.getClassLoader(), new ContainerEntry(furnace, addon)); }
@Override public void start(Addon addon) throws Exception { SimpleContainer.start(addon, furnace); this.serviceRegistry = new SimpleServiceRegistry(addon); this.eventManager = new SimpleEventManagerImpl(addon, serviceRegistry); }
private Furnace getFurnace() { if (furnace == null) this.furnace = SimpleContainer.getFurnace(GraphContextFactory.class.getClassLoader()); return this.furnace; }
private Imported<ProjectListener> getBuiltInListeners() { if (builtInListeners == null) { builtInListeners = SimpleContainer.getServices(getClass().getClassLoader(), ProjectListener.class); } return builtInListeners; } }
private Furnace getFurnace() { if (furnace == null) this.furnace = SimpleContainer.getFurnace(GraphContextFactory.class.getClassLoader()); return this.furnace; }
private Imported<Scanner> resolveScanners() { if (importedScanners == null) { importedScanners = SimpleContainer.getServices(getClass().getClassLoader(), Scanner.class); } return importedScanners; } }
public FurnaceClasspathScanner() { furnace = SimpleContainer.getFurnace(FurnaceClasspathScanner.class.getClassLoader()); }
@Override protected ProjectFactory getProjectFactory() { return SimpleContainer.getServices(getClass().getClassLoader(), ProjectFactory.class).get(); }
public FurnaceClasspathScanner() { furnace = SimpleContainer.getFurnace(FurnaceClasspathScanner.class.getClassLoader()); }
@Override protected ProjectFactory getProjectFactory() { return SimpleContainer.getServices(getClass().getClassLoader(), ProjectFactory.class).get(); }
private Furnace getFurnace() { if (furnace == null) this.furnace = SimpleContainer.getFurnace(GraphContextFactory.class.getClassLoader()); return this.furnace; }
/** * @return the config */ private Configuration getConfig() { return SimpleContainer.getServices(getClass().getClassLoader(), Configuration.class).get(); } }
private Furnace getFurnace() { if (furnace == null) this.furnace = SimpleContainer.getFurnace(GraphContextFactory.class.getClassLoader()); return this.furnace; }
@Override protected ProjectFactory getProjectFactory() { return SimpleContainer.getServices(getClass().getClassLoader(), ProjectFactory.class).get(); }
public FurnaceClasspathScanner() { furnace = SimpleContainer.getFurnace(FurnaceClasspathScanner.class.getClassLoader()); }
protected InputComponentFactory getInputComponentFactory() { if (inputComponentFactory == null) { inputComponentFactory = SimpleContainer.getServices(getClass().getClassLoader(), InputComponentFactory.class) .get(); } return inputComponentFactory; }
@Override protected ProjectFactory getProjectFactory() { return SimpleContainer.getServices(getClass().getClassLoader(), ProjectFactory.class).get(); }