public class EmbeddedOrientServer
extends java.lang.Object
implements io.dropwizard.lifecycle.Managed
User 'root' must be defined in configuration, otherwise orient will always ask for root user password on start (it would not be able to store password somewhere). As a side effect default guest user would not be created (but you can define it in config).
If static handler registered, registers orient studio. Studio available on url: http://localhost:2480/studio/
| Modifier and Type | Class and Description |
|---|---|
static class |
EmbeddedOrientServer.Info
Server installation info.
|
| Constructor and Description |
|---|
EmbeddedOrientServer(OrientServerConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
EmbeddedOrientServer.Info |
getServerInfo() |
void |
start() |
void |
stop() |
public EmbeddedOrientServer(OrientServerConfiguration conf)
conf - orient server configuration objectpublic void start()
throws java.lang.Exception
start in interface io.dropwizard.lifecycle.Managedjava.lang.Exceptionpublic void stop()
throws java.lang.Exception
stop in interface io.dropwizard.lifecycle.Managedjava.lang.Exceptionpublic EmbeddedOrientServer.Info getServerInfo()