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