/** * Configures the module by loading the configuration properties and * adding them to the package configuration. * * @param subSystem the subsystem. */ public void configure(final SubSystem subSystem) { final InputStream in = ObjectUtilities.getResourceRelativeAsStream ("configuration.properties", getClass()); if (in == null) { return; } try { subSystem.getPackageManager().getPackageConfiguration().load(in); } finally { try { in.close(); } catch (IOException e) { // can be ignored ... } } }
Log.getInstance().addTarget(new PrintStreamLogTarget()); if ("true".equals(subSystem.getGlobalConfig().getConfigProperty ("org.jfree.base.LogAutoInit")))
Log.getInstance().addTarget(new PrintStreamLogTarget()); if ("true".equals(subSystem.getGlobalConfig().getConfigProperty ("org.jfree.base.LogAutoInit")))
Log.getInstance().addTarget(new PrintStreamLogTarget()); if ("true".equals(subSystem.getGlobalConfig().getConfigProperty ("org.jfree.base.LogAutoInit")))
/** * Configures the module by loading the configuration properties and * adding them to the package configuration. * * @param subSystem the subsystem. */ public void configure(final SubSystem subSystem) { final InputStream in = ObjectUtilities.getResourceRelativeAsStream ("configuration.properties", getClass()); if (in == null) { return; } try { subSystem.getPackageManager().getPackageConfiguration().load(in); } finally { try { in.close(); } catch (IOException e) { // can be ignored ... } } }
/** * Configures the module by loading the configuration properties and * adding them to the package configuration. * * @param subSystem the subsystem. */ public void configure(final SubSystem subSystem) { final InputStream in = ObjectUtilities.getResourceRelativeAsStream ("configuration.properties", getClass()); if (in == null) { return; } try { subSystem.getPackageManager().getPackageConfiguration().load(in); } finally { try { in.close(); } catch (IOException e) { // can be ignored ... } } }