|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openspaces.pu.container.jee.jetty.holder.PlainJettyHolder
public class PlainJettyHolder
A plain wrapper around jetty. Simply delegate the lifecycle calls directory to jetty.
| Constructor Summary | |
|---|---|
PlainJettyHolder(org.eclipse.jetty.server.Server server)
|
|
| Method Summary | |
|---|---|
void |
closeConnectors()
Closes Jetty ports. |
org.eclipse.jetty.server.Server |
getServer()
Returns the jetty server. |
boolean |
isSingleInstance()
Returns true if this is a single instance. |
void |
openConnectors()
Open Jetty ports. |
void |
start()
Start Jetty. |
void |
stop()
Stops Jetty. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlainJettyHolder(org.eclipse.jetty.server.Server server)
| Method Detail |
|---|
public void openConnectors()
throws Exception
JettyHolder
openConnectors in interface JettyHolderException
public void closeConnectors()
throws Exception
JettyHolder
closeConnectors in interface JettyHolderException
public void start()
throws Exception
JettyHolderJettyHolder.stop()
start in interface JettyHolderException
public void stop()
throws Exception
JettyHolder
stop in interface JettyHolderExceptionpublic org.eclipse.jetty.server.Server getServer()
JettyHolder
getServer in interface JettyHolderpublic boolean isSingleInstance()
JettyHoldertrue if this is a single instance.
isSingleInstance in interface JettyHolder
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||