public abstract class AbstractNeoServer extends Object implements NeoServer
| Modifier and Type | Field and Description |
|---|---|
protected Configurator |
configurator |
protected CypherExecutor |
cypherExecutor |
protected Database |
database |
static Logger |
log
Deprecated.
|
protected StatisticCollector |
statisticsCollector |
protected WebServer |
webServer |
| Constructor and Description |
|---|
AbstractNeoServer() |
| Modifier and Type | Method and Description |
|---|---|
URI |
baseUri() |
protected abstract Database |
createDatabase() |
protected DatabaseActions |
createDatabaseActions() |
protected Collection<InjectableProvider<?>> |
createDefaultInjectables() |
protected InterruptThreadTimer |
createInterruptStartupTimer() |
protected abstract PreFlightTasks |
createPreflightTasks() |
protected abstract Iterable<ServerModule> |
createServerModules() |
protected abstract WebServer |
createWebServer() |
org.apache.commons.configuration.Configuration |
getConfiguration() |
Configurator |
getConfigurator() |
Database |
getDatabase() |
org.neo4j.graphdb.DependencyResolver |
getDependencyResolver() |
PluginManager |
getExtensionManager() |
protected boolean |
getHttpsEnabled() |
protected int |
getHttpsPort() |
protected org.neo4j.kernel.logging.Logging |
getLogging() |
TransactionRegistry |
getTransactionRegistry() |
WebServer |
getWebServer() |
protected String |
getWebServerAddress() |
protected int |
getWebServerPort() |
URI |
httpsUri() |
void |
init() |
protected KeyStoreInformation |
initHttpsKeyStore()
Jetty wants certificates stored in a key store, which is nice, but
to make it easier for non-java savvy users, we let them put
their certificates directly on the file system (advising appropriate
permissions etc), like you do with Apache Web Server.
|
protected void |
registerModule(ServerModule module)
Use this method to register server modules from subclasses
|
protected <T> T |
resolveDependency(Class<T> type) |
void |
start() |
void |
stop() |
void |
stopServerOnly()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServices@Deprecated public static final Logger log
protected Database database
protected CypherExecutor cypherExecutor
protected Configurator configurator
protected WebServer webServer
protected final StatisticCollector statisticsCollector
protected abstract PreFlightTasks createPreflightTasks()
protected abstract Iterable<ServerModule> createServerModules()
protected abstract Database createDatabase()
protected abstract WebServer createWebServer()
public void start()
throws ServerStartupException
start in interface NeoServerServerStartupExceptionpublic org.neo4j.graphdb.DependencyResolver getDependencyResolver()
protected DatabaseActions createDatabaseActions()
protected InterruptThreadTimer createInterruptStartupTimer()
protected final void registerModule(ServerModule module)
module - public org.apache.commons.configuration.Configuration getConfiguration()
getConfiguration in interface NeoServerprotected org.neo4j.kernel.logging.Logging getLogging()
protected int getWebServerPort()
protected boolean getHttpsEnabled()
protected int getHttpsPort()
protected String getWebServerAddress()
protected KeyStoreInformation initHttpsKeyStore()
@Deprecated public void stopServerOnly()
WrappingNeoServer.
To stop the server, please use stop().
This will be removed in 1.10public Database getDatabase()
getDatabase in interface NeoServerpublic TransactionRegistry getTransactionRegistry()
getTransactionRegistry in interface NeoServerpublic URI httpsUri()
public WebServer getWebServer()
public Configurator getConfigurator()
getConfigurator in interface NeoServerpublic PluginManager getExtensionManager()
getExtensionManager in interface NeoServerprotected Collection<InjectableProvider<?>> createDefaultInjectables()
protected <T> T resolveDependency(Class<T> type)
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.