Package com.orientechnologies.orient.server.config

Examples of com.orientechnologies.orient.server.config.OServerConfiguration


    OLogManager.instance().warn(this, "Assigning distributed node name: %s", this.nodeName);

    // SALVE THE NODE NAME IN CONFIGURATION
    boolean found = false;
    final OServerConfiguration cfg = serverInstance.getConfiguration();
    for (OServerHandlerConfiguration h : cfg.handlers) {
      if (h.clazz.equals(getClass().getName())) {
        for (OServerParameterConfiguration p : h.parameters) {
          if (p.name.equals("nodeName")) {
            found = true;
View Full Code Here


    // global startup
    Orient.instance().startup();

    // instance startup
    OServer server = new OServer();
    OServerConfiguration config = createConfiguration();
    server.startup(config);

    // create default root user to avoid orientdb prompt on console
    server.addUser(OServerConfiguration.SRV_ROOT_ADMIN, null, "*");

 
View Full Code Here

    // FIXME: Unsure what this directory us used for
    File homeDir = applicationDirectories.getWorkDirectory("orient");
    System.setProperty("orient.home", homeDir.getPath());
    System.setProperty(Orient.ORIENTDB_HOME, homeDir.getPath());

    OServerConfiguration config = new OServerConfiguration();

    // FIXME: Unsure what this is used for, its apparently assigned to xml location, but forcing it here
    config.location = "DYNAMIC-CONFIGURATION";

    File databaseDir = applicationDirectories.getWorkDirectory("db");
View Full Code Here

    File homeDir = util.createTempDir("orientdb-home").getCanonicalFile();
    System.setProperty("orient.home", homeDir.getPath());
    System.setProperty(Orient.ORIENTDB_HOME, homeDir.getPath());

    OServer server = new OServer();
    OServerConfiguration config = new OServerConfiguration();

    // Unsure what this is used for, its apparently assigned to xml location, but forcing it here
    config.location = "DYNAMIC-CONFIGURATION";

    File databaseDir = new File(homeDir, "db");
View Full Code Here

TOP

Related Classes of com.orientechnologies.orient.server.config.OServerConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.