public class JettyContextManager extends java.lang.Object implements ContextManager
| Modifier and Type | Class and Description |
|---|---|
protected class |
JettyContextManager.DisplayServiceHandler |
protected class |
JettyContextManager.ThreadPoolWrapper |
| Constructor and Description |
|---|
JettyContextManager() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createContext(java.lang.String strUrl,
HttpProcessor processor) |
protected org.eclipse.jetty.server.Server |
createServer(java.net.URL url,
SslParameters ssl) |
HttpConfiguration |
getConfiguration() |
protected java.lang.String |
getKey(java.net.URL url) |
HttpProcessor |
getMainProcessor() |
javax.management.MBeanServer |
getMBeanServer() |
protected org.eclipse.jetty.server.Server |
getServer(java.net.URL url) |
org.eclipse.jetty.util.thread.ThreadPool |
getThreadPool() |
void |
init() |
void |
remove(java.lang.Object context) |
void |
setConfiguration(HttpConfiguration configuration) |
void |
setMBeanServer(javax.management.MBeanServer mBeanServer) |
void |
shutDown() |
void |
start() |
void |
stop() |
public javax.management.MBeanServer getMBeanServer()
public void setMBeanServer(javax.management.MBeanServer mBeanServer)
mBeanServer - the mbeanServer to setpublic void init()
throws java.lang.Exception
init in interface ContextManagerjava.lang.Exceptionpublic void shutDown()
throws java.lang.Exception
shutDown in interface ContextManagerjava.lang.Exceptionpublic void start()
throws java.lang.Exception
start in interface ContextManagerjava.lang.Exceptionpublic void stop()
throws java.lang.Exception
stop in interface ContextManagerjava.lang.Exceptionpublic java.lang.Object createContext(java.lang.String strUrl,
HttpProcessor processor)
throws java.lang.Exception
createContext in interface ContextManagerjava.lang.Exceptionpublic void remove(java.lang.Object context)
throws java.lang.Exception
remove in interface ContextManagerjava.lang.Exceptionprotected org.eclipse.jetty.server.Server getServer(java.net.URL url)
protected java.lang.String getKey(java.net.URL url)
protected org.eclipse.jetty.server.Server createServer(java.net.URL url,
SslParameters ssl)
throws java.lang.Exception
java.lang.Exceptionpublic HttpConfiguration getConfiguration()
public void setConfiguration(HttpConfiguration configuration)
setConfiguration in interface ContextManagerpublic org.eclipse.jetty.util.thread.ThreadPool getThreadPool()
public HttpProcessor getMainProcessor()
getMainProcessor in interface ContextManagerCopyright © 2005-2014 FuseSource. All Rights Reserved.