public class ContextManager extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,org.mortbay.jetty.servlet.Context> |
contexts |
protected Map<String,ServletContextListenerDescriptor> |
listeners |
protected org.apache.commons.logging.Log |
log |
protected org.mortbay.jetty.Server |
server |
Constructor and Description |
---|
ContextManager(org.mortbay.jetty.Server server) |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(FilterDescriptor descriptor) |
void |
addLifecycleListener(ServletContextListenerDescriptor descriptor) |
void |
addServlet(ServletDescriptor descriptor) |
void |
applyLifecycleListeners() |
org.mortbay.jetty.Server |
getServer() |
void |
removeFilter(FilterDescriptor descriptor) |
void |
removeLifecycleListener(ServletContextListenerDescriptor descriptor) |
void |
removeServlet(ServletDescriptor descriptor) |
protected org.apache.commons.logging.Log log
protected org.mortbay.jetty.Server server
protected Map<String,ServletContextListenerDescriptor> listeners
public ContextManager(org.mortbay.jetty.Server server)
public org.mortbay.jetty.Server getServer()
public void addFilter(FilterDescriptor descriptor)
public void addServlet(ServletDescriptor descriptor)
public void addLifecycleListener(ServletContextListenerDescriptor descriptor)
public void removeLifecycleListener(ServletContextListenerDescriptor descriptor)
public void removeFilter(FilterDescriptor descriptor)
public void removeServlet(ServletDescriptor descriptor)
public void applyLifecycleListeners()
Copyright © 2017 Nuxeo. All rights reserved.