org.apache.servicemix.http.jetty
Class JettyContextManager
java.lang.Object
org.apache.servicemix.http.jetty.JettyContextManager
- All Implemented Interfaces:
- ContextManager
public class JettyContextManager
- extends Object
- implements ContextManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettyContextManager
public JettyContextManager()
getMBeanServer
public MBeanServer getMBeanServer()
- Returns:
- the mbeanServer
setMBeanServer
public void setMBeanServer(MBeanServer mBeanServer)
- Parameters:
mBeanServer - the mbeanServer to set
init
public void init()
throws Exception
- Specified by:
init in interface ContextManager
- Throws:
Exception
shutDown
public void shutDown()
throws Exception
- Specified by:
shutDown in interface ContextManager
- Throws:
Exception
start
public void start()
throws Exception
- Specified by:
start in interface ContextManager
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop in interface ContextManager
- Throws:
Exception
createContext
public Object createContext(String strUrl,
HttpProcessor processor)
throws Exception
- Specified by:
createContext in interface ContextManager
- Throws:
Exception
remove
public void remove(Object context)
throws Exception
- Specified by:
remove in interface ContextManager
- Throws:
Exception
getServer
protected org.mortbay.jetty.Server getServer(URL url)
getKey
protected String getKey(URL url)
createServer
protected org.mortbay.jetty.Server createServer(URL url,
SslParameters ssl)
throws Exception
- Throws:
Exception
getConfiguration
public HttpConfiguration getConfiguration()
setConfiguration
public void setConfiguration(HttpConfiguration configuration)
- Specified by:
setConfiguration in interface ContextManager
getThreadPool
public org.mortbay.thread.ThreadPool getThreadPool()
getMainProcessor
public HttpProcessor getMainProcessor()
- Specified by:
getMainProcessor in interface ContextManager
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.