/** * <p> This method installs the admin console OSGi bundle respository so * our plugins can be found.</p> */ private void addRepository(String name, String path) { File pathFile = new File(path); Repository repo = new DirectoryBasedRepository( name, pathFile); modulesRegistry.addRepository(repo); try { repo.initialize(); } catch (IOException ex) { logger.log(Level.SEVERE, "Problem initializing additional repository!", ex); } }