org.neo4j.server
Class NeoServerWithEmbeddedWebServer
java.lang.Object
org.neo4j.server.NeoServerWithEmbeddedWebServer
- All Implemented Interfaces:
- NeoServer
public class NeoServerWithEmbeddedWebServer
- extends Object
- implements NeoServer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final Logger log
NeoServerWithEmbeddedWebServer
public NeoServerWithEmbeddedWebServer(Bootstrapper bootstrapper,
StartupHealthCheck startupHealthCheck,
Configurator configurator,
WebServer webServer,
Iterable<Class<? extends ServerModule>> moduleClasses)
start
public void start()
- Specified by:
start in interface NeoServer
startExtensionInitialization
protected void startExtensionInitialization()
- Initializes individual plugins using the mechanism provided via
PluginInitializer and the java service
locator
registerModule
protected final void registerModule(Class<? extends ServerModule> clazz)
- Use this method to register server modules from subclasses
- Parameters:
clazz -
getConfiguration
public org.apache.commons.configuration.Configuration getConfiguration()
- Specified by:
getConfiguration in interface NeoServer
getWebServerPort
protected int getWebServerPort()
getHttpsEnabled
protected boolean getHttpsEnabled()
getHttpsPort
protected int getHttpsPort()
getWebServerAddress
protected String getWebServerAddress()
initHttpsKeyStore
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 (advicing apropriate
permissions etc), like you do with Apache Web Server. On each startup
we set up a key store for them with their certificate in it.
stop
public void stop()
- Specified by:
stop in interface NeoServer
stopServerOnly
public void stopServerOnly()
- Stops everything but the database.
getDatabase
public Database getDatabase()
- Specified by:
getDatabase in interface NeoServer
baseUri
public URI baseUri()
- Specified by:
baseUri in interface NeoServer
httpsUri
public URI httpsUri()
getWebServer
public WebServer getWebServer()
getConfigurator
public Configurator getConfigurator()
- Specified by:
getConfigurator in interface NeoServer
getExtensionManager
public PluginManager getExtensionManager()
- Specified by:
getExtensionManager in interface NeoServer
getInjectables
public Collection<org.neo4j.server.plugins.Injectable<?>> getInjectables(List<String> packageNames)
- Specified by:
getInjectables in interface NeoServer
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.