javax.management.MBeanRegistration
, JmxEnabled
, Lifecycle
, WebResourceRoot
public class ExtractingRoot extends StandardRoot
Lifecycle.SingleUse
WebResourceRoot.ResourceSetType
AFTER_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_EVENT
mserver
Constructor | Description |
---|---|
ExtractingRoot() |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
isPackedWarFile() |
|
protected void |
processWebInfLib() |
Class loader resources are handled by treating JARs in WEB-INF/lib as
resource JARs (without the internal META-INF/resources/ prefix) mounted
at WEB-INF/classes (rather than the web app root).
|
protected void |
stopInternal() |
Sub-classes must ensure that the state is changed to
LifecycleState.STOPPING during the execution of this method. |
addLifecycleListener, destroy, findLifecycleListeners, getState, getStateName, init, removeLifecycleListener, start, stop
addLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, getThrowOnFailure, init, removeLifecycleListener, setState, setState, setThrowOnFailure, start, stop
getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClassResources, addJarResources, addPostResources, addPreResources, backgroundProcess, createMainResourceSet, createWebResourceSet, createWebResourceSet, deregisterTrackedResource, destroyInternal, gc, getAllowLinking, getBaseUrls, getCacheMaxSize, getCacheObjectMaxSize, getCacheTtl, getClassLoaderResource, getClassLoaderResources, getClassResources, getContext, getDomainInternal, getJarResources, getObjectNameKeyProperties, getPostResources, getPreResources, getResource, getResourceInternal, getResources, getResourcesInternal, getTrackedResources, getTrackLockedFiles, initInternal, isCachingAllowed, list, listResources, listResources, listWebAppPaths, mkdir, registerTrackedResource, registerURLStreamHandlerFactory, setAllowLinking, setCacheMaxSize, setCacheObjectMaxSize, setCacheTtl, setCachingAllowed, setContext, setMainResources, setTrackLockedFiles, startInternal, write
protected void processWebInfLib() throws LifecycleException
StandardRoot
processWebInfLib
in class StandardRoot
LifecycleException
- If an error occurs that should stop the web
application from startingprotected boolean isPackedWarFile()
isPackedWarFile
in class StandardRoot
protected void stopInternal() throws LifecycleException
LifecycleBase
LifecycleState.STOPPING
during the execution of this method.
Changing state will trigger the Lifecycle.STOP_EVENT
event.stopInternal
in class StandardRoot
LifecycleException
- Stop error occurredCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.