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