@Deprecated public class ServerConfigurator extends Configurator.Adapter
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 ServerConfigurator conf = new ServerConfigurator( myDb );
conf.setProperty( ServerSettings.webserver_port.name(), "8080" );
}
See the neo4j manual for information about what configuration directives the
server takes, or take a look at the settings in ServerSettings.Configurator.AdapterAUTH_STORE_FILE_KEY, BROWSER_PATH, 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_HTTP_CONTENT_LOGGING, DEFAULT_HTTP_LOGGING, DEFAULT_MANAGEMENT_API_PATH, DEFAULT_MANAGEMENT_CONSOLE_ENGINES, DEFAULT_SCRIPT_SANDBOXING_ENABLED, DEFAULT_STARTUP_TIMEOUT, DEFAULT_TRANSACTION_TIMEOUT, 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, EMPTY, HTTP_CONTENT_LOGGING, 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, SCRIPT_SANDBOXING_ENABLED_KEY, SECURITY_RULES_KEY, STARTUP_TIMEOUT, THIRD_PARTY_PACKAGES_KEY, TRANSACTION_TIMEOUT, 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| Constructor and Description |
|---|
ServerConfigurator(org.neo4j.kernel.GraphDatabaseAPI db)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.configuration.Configuration |
configuration()
Deprecated.
|
Map<String,String> |
getDatabaseTuningProperties()
Deprecated.
|
List<ThirdPartyJaxRsPackage> |
getThirdpartyJaxRsPackages()
Deprecated.
|
getThirdpartyJaxRsClassespublic ServerConfigurator(org.neo4j.kernel.GraphDatabaseAPI db)
public org.apache.commons.configuration.Configuration configuration()
configuration in interface Configuratorconfiguration in class Configurator.Adapterpublic Map<String,String> getDatabaseTuningProperties()
getDatabaseTuningProperties in interface ConfiguratorgetDatabaseTuningProperties in class Configurator.Adapterpublic List<ThirdPartyJaxRsPackage> getThirdpartyJaxRsPackages()
getThirdpartyJaxRsPackages in interface ConfiguratorgetThirdpartyJaxRsPackages in class Configurator.AdapterCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.