javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ServletConfig, Container, JmxEnabled, Lifecycle, Wrapperpublic static class Tomcat.ExistingStandardWrapper extends StandardWrapper
ContainerBase.ContainerBackgroundProcessor, ContainerBase.PrivilegedAddChildLifecycle.SingleUseADD_CHILD_EVENT, ADD_VALVE_EVENT, REMOVE_CHILD_EVENT, REMOVE_VALVE_EVENTaccessLog, backgroundProcessorDelay, children, cluster, listeners, logger, logName, name, parent, parentClassLoader, pipeline, sm, startChildren, startStopExecutor, supportAFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENTmserverasyncSupported, available, broadcaster, classLoadTime, classType, countAllocated, DEFAULT_SERVLET_METHODS, enabled, facade, instance, instanceInitialized, instancePool, isJspServlet, jspMonitorON, loadOnStartup, loadTime, mappings, maxInstances, multipartConfigElement, nInstances, notificationInfo, parameters, references, runAs, sequenceNumber, servletClass, singleThreadModel, swallowOutput, swValve, unloadDelay, unloadingADD_MAPPING_EVENT, REMOVE_MAPPING_EVENT| Constructor | Description |
|---|---|
ExistingStandardWrapper(Servlet existing) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getAvailable() |
Return the available date/time for this servlet, in milliseconds since
the epoch.
|
Servlet |
getServlet() |
|
java.lang.String |
getServletClass() |
|
boolean |
isUnavailable() |
|
Servlet |
loadServlet() |
Load and initialize an instance of this servlet, if there is not already
at least one initialized instance.
|
addContainerListener, addPropertyChangeListener, findChild, findChildren, findContainerListeners, fireContainerEvent, getAccessLog, getBackgroundProcessorDelay, getCatalinaBase, getCatalinaHome, getCluster, getDomain, getLogger, getLogName, getMBeanKeyProperties, getName, getObjectName, getParent, getParentClassLoader, getPipeline, getRealm, getStartStopThreads, logAccess, removeChild, removeContainerListener, removePropertyChangeListener, setBackgroundProcessorDelay, setCluster, setName, setParentClassLoader, setRealm, setStartStopThreadsaddContainerListener, addPropertyChangeListener, addValve, destroyInternal, findChild, findChildren, findContainerListeners, fireContainerEvent, getAccessLog, getBackgroundProcessorDelay, getCatalinaBase, getCatalinaHome, getChildren, getCluster, getClusterInternal, getDomainInternal, getLogger, getLogName, getMBeanKeyProperties, getName, getParent, getParentClassLoader, getPipeline, getRealm, getRealmInternal, getStartChildren, getStartStopThreads, initInternal, logAccess, removeChild, removeContainerListener, removePropertyChangeListener, setBackgroundProcessorDelay, setCluster, setName, setParentClassLoader, setRealm, setStartChildren, setStartStopThreads, threadStart, threadStop, toStringaddLifecycleListener, destroy, findLifecycleListeners, getState, getStateName, init, removeLifecycleListener, start, stopaddLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, getThrowOnFailure, init, removeLifecycleListener, setState, setState, setThrowOnFailure, start, stopgetDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChild, addInitParameter, addMapping, addNotificationListener, addSecurityReference, allocate, backgroundProcess, deallocate, findInitParameter, findInitParameters, findMappings, findSecurityReference, findSecurityReferences, getAllDeclaredMethods, getClassLoadTime, getCountAllocated, getErrorCount, getInitParameter, getInitParameterNames, getLoadOnStartup, getLoadOnStartupString, getLoadTime, getMaxInstances, getMaxTime, getMinTime, getMultipartConfigElement, getNotificationInfo, getObjectNameKeyProperties, getProcessingTime, getRequestCount, getRootCause, getRunAs, getServletContext, getServletMethods, getServletName, incrementErrorCount, isAsyncSupported, isEnabled, isOverridable, isSingleThreadModel, load, removeInitParameter, removeMapping, removeNotificationListener, removeNotificationListener, removeSecurityReference, setAsyncSupported, setAvailable, setEnabled, setLoadOnStartup, setLoadOnStartupString, setMaxInstances, setMultipartConfigElement, setOverridable, setParent, setRunAs, setServlet, setServletClass, setServletName, startInternal, stopInternal, unavailable, unloadpublic ExistingStandardWrapper(Servlet existing)
public Servlet loadServlet() throws ServletException
StandardWrapperloadServlet in class StandardWrapperServletException - for a Servlet load errorpublic long getAvailable()
StandardWrappergetAvailable in interface WrappergetAvailable in class StandardWrapperpublic boolean isUnavailable()
isUnavailable in interface WrapperisUnavailable in class StandardWrappertrue if the Servlet has been marked unavailable.public Servlet getServlet()
getServlet in interface WrappergetServlet in class StandardWrapperpublic java.lang.String getServletClass()
getServletClass in interface WrappergetServletClass in class StandardWrapperCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.