OGAgent.java revision 459
340N/A * See LICENSE.txt included in this distribution for the specific
340N/A * file and include the License file at LICENSE.txt.
420N/A } catch (MalformedURLException e) {
420N/A } catch (IOException e) {
340N/A String connprotocol = props.getProperty("org.opensolaris.opengrok.management.connection.protocol", "jmxmp");
340N/A connectorport = Integer.parseInt(props.getProperty("org.opensolaris.opengrok.management.connection." + connprotocol + ".port", Integer.toString(connectorport)));
340N/A boolean enabled = Boolean.valueOf(properties.getProperty("org.opensolaris.opengrok.management.indexer.enabled")).booleanValue();
340N/A int period = Integer.parseInt(properties.getProperty("org.opensolaris.opengrok.management.indexer.sleeptime"));
340N/A // Add index notification to timer (read from org.opensolaris.opengrok.management.indexer.sleeptime property).
340N/A loglevel = Level.parse(props.getProperty("org.opensolaris.opengrok.management.logging.filelevel"));
340N/A consoleloglevel = Level.parse(props.getProperty("org.opensolaris.opengrok.management.logging.consolelevel"));