public final class ServletContainer
extends org.apache.avalon.fortress.impl.DefaultContainer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY |
private Translator |
m_translator |
DEFAULT_ENTRY, m_classLoader, m_commandSink, m_componentContext, m_components, m_context, m_extManager, m_instrumentManager, m_loggerManager, m_mapper, m_metaManager, m_poolManager, m_serviceManager, m_shutDownOrder, SELECTOR_ENTRY| Constructor and Description |
|---|
ServletContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Release resources
|
void |
handleRequest(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Simple method to handle requests sent to the container from the
controlling servlet.
|
void |
initialize()
Initializes this component.
|
configure, getServiceManager, interpretProxyaddComponent, contextualize, createHintMap, createObjectFactory, get, getProxyManager, getRoleKey, has, provideComponentContext, provideServiceManager, service, setProxyManagerpublic static final java.lang.String KEY
private Translator m_translator
public void initialize()
throws java.lang.Exception
initialize in interface org.apache.avalon.framework.activity.Initializableinitialize in class org.apache.avalon.fortress.impl.AbstractContainerjava.lang.Exception - if an error occurspublic void handleRequest(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
request - a ServletRequest instanceresponse - a ServletResponse instancejavax.servlet.ServletException - if a servlet error occursjava.io.IOException - if an IO error occurspublic void dispose()
dispose in interface org.apache.avalon.framework.activity.Disposabledispose in class org.apache.avalon.fortress.impl.AbstractContainer