|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.core.ContainerBase org.apache.catalina.core.StandardWrapper org.apache.catalina.startup.Tomcat.ExistingStandardWrapper
public static class Tomcat.ExistingStandardWrapper
Helper class for wrapping existing servlets. This disables servlet lifecycle and normal reloading, but also reduces overhead and provide more direct control over the servlet.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.catalina.core.ContainerBase |
---|
ContainerBase.ContainerBackgroundProcessor, ContainerBase.PrivilegedAddChild |
Field Summary |
---|
Fields inherited from class org.apache.catalina.core.StandardWrapper |
---|
asyncSupported, available, broadcaster, classLoadTime, classType, classTypeUsedInService, countAllocated, DEFAULT_SERVLET_METHODS, description, dynamic, enabled, facade, info, instance, instancePool, instanceSupport, isJspServlet, jspFile, jspMonitorON, loadOnStartup, loadTime, log, mappings, maxInstances, multipartConfig, nInstances, notificationInfo, parameters, references, runAs, sequenceNumber, servletClass, servletInstance, servletSecurity, singleThreadModel, swallowOutput, swValve, unloadDelay, unloading |
Fields inherited from class org.apache.catalina.core.ContainerBase |
---|
backgroundProcessorDelay, children, cluster, CONTAINER_ARRAY, controller, domain, initialized, jarRepository, lifecycle, LISTENER_ARRAY, listeners, loader, logger, logName, manager, mserver, name, oname, parent, parentClassLoader, pipeline, realm, resources, sm, startChildren, started, suffix, support, type |
Fields inherited from interface org.apache.catalina.Container |
---|
ADD_CHILD_EVENT, ADD_MAPPER_EVENT, ADD_VALVE_EVENT, REMOVE_CHILD_EVENT, REMOVE_MAPPER_EVENT, REMOVE_VALVE_EVENT |
Fields inherited from interface org.apache.catalina.Lifecycle |
---|
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, DESTROY_EVENT, INIT_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT |
Constructor Summary | |
---|---|
Tomcat.ExistingStandardWrapper(javax.servlet.Servlet existing)
|
Method Summary | |
---|---|
long |
getAvailable()
Return the available date/time for this servlet, in milliseconds since the epoch. |
boolean |
isUnavailable()
Is this servlet currently unavailable? |
javax.servlet.Servlet |
loadServlet()
Load and initialize an instance of this servlet, if there is not already at least one initialized instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Tomcat.ExistingStandardWrapper(javax.servlet.Servlet existing)
Method Detail |
---|
public javax.servlet.Servlet loadServlet() throws javax.servlet.ServletException
StandardWrapper
loadServlet
in class StandardWrapper
javax.servlet.ServletException
public long getAvailable()
StandardWrapper
getAvailable
in interface Wrapper
getAvailable
in class StandardWrapper
public boolean isUnavailable()
StandardWrapper
isUnavailable
in interface Wrapper
isUnavailable
in class StandardWrapper
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |