org.neo4j.server.configuration
Class ServerConfigurator
java.lang.Object
org.neo4j.server.configuration.ServerConfigurator
- All Implemented Interfaces:
- Configurator
public class ServerConfigurator
- extends Object
- implements Configurator
Used by the WrappingNeoServerBootstrapper, passing the minimum amount
of required configuration on to the neo4j server.
If you want to change configuration for your
WrappingNeoServerBootstrapper, create an instance of this class, and
add configuration like so:
{
@code EmbeddedServerConfigurator conf = new EmbeddedServerConfigurator( myDb );
conf.configuration()
.addProperty( WEBSERVER_PORT_PROPERTY_KEY, 8080 );
}
See the neo4j manual for information about what configuration directives the
server takes, or take a look at the static strings in Configurator.
| Fields inherited from interface org.neo4j.server.configuration.Configurator |
DATABASE_LOCATION_PROPERTY_KEY, DB_MODE_KEY, DB_TUNING_PROPERTY_FILE_KEY, DEFAULT_CONFIG_DIR, DEFAULT_DATA_API_PATH, DEFAULT_DATABASE_LOCATION_PROPERTY_KEY, DEFAULT_MANAGEMENT_API_PATH, DEFAULT_MANAGEMENT_CONSOLE_ENGINES, DEFAULT_WEB_ADMIN_PATH, DEFAULT_WEBSERVER_ADDRESS, DEFAULT_WEBSERVER_HTTPS_CERT_PATH, DEFAULT_WEBSERVER_HTTPS_ENABLED, DEFAULT_WEBSERVER_HTTPS_KEY_PATH, DEFAULT_WEBSERVER_HTTPS_PORT, DEFAULT_WEBSERVER_KEYSTORE_PATH, DEFAULT_WEBSERVER_PORT, DIAGNOSTICS, DISCOVERY_API_PACKAGE, HTTP_LOG_CONFIG_LOCATION, HTTP_LOGGING, MANAGEMENT_API_PACKAGE, MANAGEMENT_CONSOLE_ENGINES, MANAGEMENT_PATH_PROPERTY_KEY, NEO_SERVER_CONFIG_FILE_KEY, REST_API_PACKAGE, REST_API_PATH_PROPERTY_KEY, RRDB_LOCATION_PROPERTY_KEY, SECURITY_RULES_KEY, THIRD_PARTY_PACKAGES_KEY, WADL_ENABLED, WEBSERVER_ADDRESS_PROPERTY_KEY, WEBSERVER_ENABLE_STATISTICS_COLLECTION, WEBSERVER_HTTPS_CERT_PATH_PROPERTY_KEY, WEBSERVER_HTTPS_ENABLED_PROPERTY_KEY, WEBSERVER_HTTPS_KEY_PATH_PROPERTY_KEY, WEBSERVER_HTTPS_PORT_PROPERTY_KEY, WEBSERVER_KEYSTORE_PATH_PROPERTY_KEY, WEBSERVER_LIMIT_EXECUTION_TIME_PROPERTY_KEY, WEBSERVER_MAX_THREADS_PROPERTY_KEY, WEBSERVER_PORT_PROPERTY_KEY |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerConfigurator
public ServerConfigurator(org.neo4j.kernel.GraphDatabaseAPI db)
configuration
public org.apache.commons.configuration.Configuration configuration()
- Specified by:
configuration in interface Configurator
getDatabaseTuningProperties
public Map<String,String> getDatabaseTuningProperties()
- Specified by:
getDatabaseTuningProperties in interface Configurator
getThirdpartyJaxRsClasses
public Set<ThirdPartyJaxRsPackage> getThirdpartyJaxRsClasses()
- Specified by:
getThirdpartyJaxRsClasses in interface Configurator
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.