public class SolrStart extends BaseDaemonServer
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
log |
private static EmbeddedServer |
server |
Constructor and Description |
---|
SolrStart() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] argv) |
void |
start() |
static void |
start(java.lang.String[] args) |
void |
stop() |
static void |
stop(java.lang.String[] args) |
destroy, init
private static final org.slf4j.Logger log
private static EmbeddedServer server
public static void main(java.lang.String[] argv) throws java.lang.Exception
java.lang.Exception
public static void start(java.lang.String[] args) throws java.lang.Exception
args
- unusedjava.lang.Exception
public static void stop(java.lang.String[] args) throws java.lang.Exception
args
- unusedjava.lang.Exception
public void start() throws java.lang.Exception
start
in interface org.apache.commons.daemon.Daemon
start
in class BaseDaemonServer
java.lang.Exception
public void stop() throws java.lang.Exception
stop
in interface org.apache.commons.daemon.Daemon
stop
in class BaseDaemonServer
java.lang.Exception