public class SharedJettyHolder extends JettyHolder
Constructor and Description |
---|
SharedJettyHolder(org.eclipse.jetty.server.Server localServer) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.jetty.server.Server |
getServer()
Returns the jetty server.
|
boolean |
isSingleInstance()
Returns
true if this is a single instance. |
void |
start()
Start Jetty.
|
void |
stop()
Stops Jetty.
|
closeConnectors, getConfidentialPort, getHttpConfig, openConnectors, updateConfidentialPort
public SharedJettyHolder(org.eclipse.jetty.server.Server localServer)
public void start() throws Exception
JettyHolder
JettyHolder.stop()
start
in class JettyHolder
Exception
public void stop() throws Exception
JettyHolder
stop
in class JettyHolder
Exception
public org.eclipse.jetty.server.Server getServer()
JettyHolder
getServer
in class JettyHolder
public boolean isSingleInstance()
JettyHolder
true
if this is a single instance.isSingleInstance
in class JettyHolder
Copyright © GigaSpaces.