Search in sources :

Example 1 with OConfigurableHooksManager

use of com.orientechnologies.orient.server.handler.OConfigurableHooksManager in project orientdb by orientechnologies.

the class OServer method initFromConfiguration.

protected void initFromConfiguration() {
    final OServerConfiguration cfg = serverCfg.getConfiguration();
    // FILL THE CONTEXT CONFIGURATION WITH SERVER'S PARAMETERS
    contextConfiguration = new OContextConfiguration();
    if (cfg.properties != null)
        for (OServerEntryConfiguration prop : cfg.properties) contextConfiguration.setValue(prop.name, prop.value);
    hookManager = new OConfigurableHooksManager(cfg);
}
Also used : OContextConfiguration(com.orientechnologies.orient.core.config.OContextConfiguration) OConfigurableHooksManager(com.orientechnologies.orient.server.handler.OConfigurableHooksManager)

Aggregations

OContextConfiguration (com.orientechnologies.orient.core.config.OContextConfiguration)1 OConfigurableHooksManager (com.orientechnologies.orient.server.handler.OConfigurableHooksManager)1