|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.nucleus.TimedOperationService atg.nucleus.servlet.ServletService
public abstract class ServletService
A base class implementation of the Nucleus Service and the Java Servlet interfaces.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
SERVLET_INFO_KEY
Should be used as a key to retrieve the servletInfo property from ResourceBundles |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
ServletService()
|
Method Summary | |
---|---|
void |
destroy()
Destroys the servlet and cleans up whatever resources are being held. |
javax.servlet.ServletConfig |
getServletConfig()
Returns the configuration for this servlet. |
java.lang.String |
getServletInfo()
Returns the information string for this servlet |
void |
init(javax.servlet.ServletConfig pConfig)
Initializes the servlet. |
abstract void |
service(javax.servlet.ServletRequest pRequest,
javax.servlet.ServletResponse pResponse)
Services a single request from the client. |
void |
setServletInfo(java.lang.String pServletInfo)
Sets the information string for this servlet |
Methods inherited from class atg.nucleus.TimedOperationService |
---|
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final java.lang.String SERVLET_INFO_KEY
Constructor Detail |
---|
public ServletService()
Method Detail |
---|
public void init(javax.servlet.ServletConfig pConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
pServletConfig
- servlet configuration information
javax.servlet.ServletException
- if a servlet exception has occurredpublic javax.servlet.ServletConfig getServletConfig()
getServletConfig
in interface javax.servlet.Servlet
public abstract void service(javax.servlet.ServletRequest pRequest, javax.servlet.ServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
service
in interface javax.servlet.Servlet
pRequest
- the servlet requestpResponse
- the servlet response
javax.servlet.ServletException
- if a servlet exception has occurred
java.io.IOException
- if an I/O exception has occurredpublic java.lang.String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
public void setServletInfo(java.lang.String pServletInfo)
public void destroy()
destroy
in interface javax.servlet.Servlet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |