org.exoplatform.services.rest.server
Class StandaloneRestServer
java.lang.Object
org.exoplatform.services.rest.server.StandaloneRestServer
- All Implemented Interfaces:
- org.picocontainer.Startable
public class StandaloneRestServer
- extends Object
- implements org.picocontainer.Startable
Standalone REST server based on Jetty.
- Version:
- $Id: $
- Author:
- Andrey Parfonov
|
Method Summary |
org.mortbay.jetty.Server |
getServer()
|
void |
start()
Server starter. |
void |
stop()
Server destroy. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandaloneRestServer
public StandaloneRestServer(org.exoplatform.container.xml.InitParams initParams)
- Parameters:
initParams - initialize parameters.
start
public void start()
- Server starter.
- Specified by:
start in interface org.picocontainer.Startable
stop
public void stop()
- Server destroy.
- Specified by:
stop in interface org.picocontainer.Startable
getServer
public org.mortbay.jetty.Server getServer()
- Returns:
- instance of server.
Copyright © 2009 eXo Platform SAS. All Rights Reserved.