org.apache.servicemix.http.jetty
Class JettyContextManager

java.lang.Object
  extended by org.apache.servicemix.http.jetty.JettyContextManager
All Implemented Interfaces:
ContextManager

public class JettyContextManager
extends Object
implements ContextManager


Nested Class Summary
protected  class JettyContextManager.DisplayServiceHandler
           
protected  class JettyContextManager.ThreadPoolWrapper
           
 
Constructor Summary
JettyContextManager()
           
 
Method Summary
 Object createContext(String strUrl, HttpProcessor processor)
           
protected  org.mortbay.jetty.Server createServer(URL url, SslParameters ssl)
           
 HttpConfiguration getConfiguration()
           
protected  String getKey(URL url)
           
 HttpProcessor getMainProcessor()
           
 MBeanServer getMBeanServer()
           
protected  org.mortbay.jetty.Server getServer(URL url)
           
 org.mortbay.thread.ThreadPool getThreadPool()
           
 void init()
           
 void remove(Object context)
           
 void setConfiguration(HttpConfiguration configuration)
           
 void setMBeanServer(MBeanServer mBeanServer)
           
 void shutDown()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyContextManager

public JettyContextManager()
Method Detail

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.