public class LazyStopStandardRoot
extends java.lang.Object
Constructor and Description |
---|
LazyStopStandardRoot(WebResourceRoot delegate) |
Modifier and Type | Method and Description |
---|---|
void |
addJarResources(WebResourceSet webResourceSet) |
void |
addLifecycleListener(LifecycleListener listener) |
void |
addPostResources(WebResourceSet webResourceSet) |
void |
addPreResources(WebResourceSet webResourceSet) |
void |
backgroundProcess() |
void |
createWebResourceSet(ResourceSetType type,
java.lang.String webAppMount,
java.lang.String base,
java.lang.String archivePath,
java.lang.String internalPath) |
void |
createWebResourceSet(ResourceSetType type,
java.lang.String webAppMount,
java.net.URL url,
java.lang.String internalPath) |
void |
deregisterTrackedResource(TrackedWebResource trackedResource) |
void |
destroy() |
LifecycleListener[] |
findLifecycleListeners() |
void |
gc() |
boolean |
getAllowLinking() |
java.util.List<java.net.URL> |
getBaseUrls() |
long |
getCacheMaxSize() |
int |
getCacheObjectMaxSize() |
long |
getCacheTtl() |
WebResource |
getClassLoaderResource(java.lang.String path) |
WebResource[] |
getClassLoaderResources(java.lang.String path) |
Context |
getContext() |
WebResourceRoot |
getDelegate() |
java.lang.String |
getDomain() |
WebResourceSet[] |
getJarResources() |
javax.management.ObjectName |
getObjectName() |
WebResourceSet[] |
getPostResources() |
WebResourceSet[] |
getPreResources() |
WebResource |
getResource(java.lang.String path) |
WebResource[] |
getResources(java.lang.String path) |
LifecycleState |
getState() |
java.lang.String |
getStateName() |
java.util.List<java.lang.String> |
getTrackedResources() |
boolean |
getTrackLockedFiles() |
void |
init() |
void |
internalDestroy() |
void |
internalStop() |
boolean |
isCachingAllowed() |
java.lang.String[] |
list(java.lang.String path) |
WebResource[] |
listResources(java.lang.String path) |
java.util.Set<java.lang.String> |
listWebAppPaths(java.lang.String path) |
boolean |
mkdir(java.lang.String path) |
void |
postDeregister() |
void |
postRegister(java.lang.Boolean registrationDone) |
void |
preDeregister() |
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name) |
void |
registerTrackedResource(TrackedWebResource trackedResource) |
void |
removeLifecycleListener(LifecycleListener listener) |
void |
setAllowLinking(boolean allowLinking) |
void |
setCacheMaxSize(long cacheMaxSize) |
void |
setCacheObjectMaxSize(int cacheObjectMaxSize) |
void |
setCacheTtl(long cacheTtl) |
void |
setCachingAllowed(boolean cachingAllowed) |
void |
setContext(Context context) |
void |
setDomain(java.lang.String domain) |
void |
setTrackLockedFiles(boolean trackLockedFiles) |
void |
start() |
void |
stop() |
boolean |
write(java.lang.String path,
java.io.InputStream is,
boolean overwrite) |
public java.lang.String[] list(java.lang.String path)
public java.util.Set<java.lang.String> listWebAppPaths(java.lang.String path)
public boolean mkdir(java.lang.String path)
public boolean write(java.lang.String path, java.io.InputStream is, boolean overwrite)
public WebResource getResource(java.lang.String path)
public WebResource getClassLoaderResource(java.lang.String path)
public WebResource[] getClassLoaderResources(java.lang.String path)
public WebResource[] getResources(java.lang.String path)
public WebResource[] listResources(java.lang.String path)
public void createWebResourceSet(ResourceSetType type, java.lang.String webAppMount, java.net.URL url, java.lang.String internalPath)
public void createWebResourceSet(ResourceSetType type, java.lang.String webAppMount, java.lang.String base, java.lang.String archivePath, java.lang.String internalPath)
public void addPreResources(WebResourceSet webResourceSet)
public WebResourceSet[] getPreResources()
public void addJarResources(WebResourceSet webResourceSet)
public WebResourceSet[] getJarResources()
public void addPostResources(WebResourceSet webResourceSet)
public WebResourceSet[] getPostResources()
public void setAllowLinking(boolean allowLinking)
public boolean getAllowLinking()
public void setCachingAllowed(boolean cachingAllowed)
public boolean isCachingAllowed()
public long getCacheTtl()
public void setCacheTtl(long cacheTtl)
public long getCacheMaxSize()
public void setCacheMaxSize(long cacheMaxSize)
public void setCacheObjectMaxSize(int cacheObjectMaxSize)
public int getCacheObjectMaxSize()
public void setTrackLockedFiles(boolean trackLockedFiles)
public boolean getTrackLockedFiles()
public java.util.List<java.lang.String> getTrackedResources()
public Context getContext()
public void setContext(Context context)
public void backgroundProcess()
public void gc()
public void registerTrackedResource(TrackedWebResource trackedResource)
public void deregisterTrackedResource(TrackedWebResource trackedResource)
public java.util.List<java.net.URL> getBaseUrls()
public void setDomain(java.lang.String domain)
public java.lang.String getDomain()
public javax.management.ObjectName getObjectName()
public void postDeregister()
public void postRegister(java.lang.Boolean registrationDone)
public void preDeregister() throws java.lang.Exception
java.lang.Exception
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name) throws java.lang.Exception
java.lang.Exception
public void addLifecycleListener(LifecycleListener listener)
public LifecycleListener[] findLifecycleListeners()
public void removeLifecycleListener(LifecycleListener listener)
public LifecycleState getState()
public java.lang.String getStateName()
public void init() throws LifecycleException
LifecycleException
public void start() throws LifecycleException
LifecycleException
public void stop() throws LifecycleException
LifecycleException
public void destroy() throws LifecycleException
LifecycleException
public void internalDestroy() throws LifecycleException
LifecycleException
public void internalStop() throws LifecycleException
LifecycleException
public WebResourceRoot getDelegate()