/** * Create the plugin context, allow subclasses to customize it. * * @param discovery the plugin discovery * @return the plugin context */ protected PluginContext create(Map<String, Object> attributes, PluginDiscovery discovery, ClassLoader loader) { // FS cmdFS; FS confFS; try { cmdFS = createCommandFS(); confFS = createConfFS(); } catch (IOException e) { log.log(Level.SEVERE, "Coult not initialize the file system", e); return null; } // return new PluginContext(discovery, attributes, cmdFS, confFS, loader); }
/** * Create the plugin context, allow subclasses to customize it. * * @param discovery the plugin discovery * @return the plugin context */ protected PluginContext create(Map<String, Object> attributes, PluginDiscovery discovery, ClassLoader loader) { // FS cmdFS; FS confFS; try { cmdFS = createCommandFS(); confFS = createConfFS(); } catch (IOException e) { log.log(Level.SEVERE, "Coult not initialize the file system", e); return null; } // return new PluginContext(discovery, attributes, cmdFS, confFS, loader); }
/** * Create the plugin context, allow subclasses to customize it. * * @param discovery the plugin discovery * @return the plugin context */ protected PluginContext create(Map<String, Object> attributes, PluginDiscovery discovery, ClassLoader loader) { // FS cmdFS; FS confFS; try { cmdFS = createCommandFS(); confFS = createConfFS(); } catch (IOException e) { log.log(Level.SEVERE, "Coult not initialize the file system", e); return null; } // return new PluginContext(discovery, attributes, cmdFS, confFS, loader); }