public class CustomWebappLoader
extends org.apache.catalina.loader.WebappLoader
<Context>
<Loader className="org.apache.hawq.pxf.service.utilities.CustomWebappLoader"
classpathFiles="/somedir/classpathFile1;/somedir/classpathFile2"/>
</Context>
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| Constructor and Description |
|---|
CustomWebappLoader()
Constructs a WebappLoader with no defined parent class loader (actual parent will be the system class loader).
|
CustomWebappLoader(java.lang.ClassLoader parent)
Constructs a WebappLoader with the specified class loader to be defined as the parent for this ClassLoader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setClasspathFiles(java.lang.String classpathFiles)
classpathFiles attribute is automatically set from the context xml file. |
void |
setSecondaryClasspathFiles(java.lang.String secondaryClasspathFiles)
secondaryClasspathFiles attribute is automatically set from the context xml file. |
protected void |
startInternal()
Implements
LifecycleBase.startInternal(). |
addPropertyChangeListener, addRepository, backgroundProcess, closeJARs, findRepositories, getClassLoader, getClasspath, getContainer, getDelegate, getDomainInternal, getInfo, getLoaderClass, getLoaderRepositories, getLoaderRepositoriesString, getObjectNameKeyProperties, getReloadable, getRepositories, getRepositoriesString, getSearchExternalFirst, modified, propertyChange, removePropertyChangeListener, setContainer, setDelegate, setLoaderClass, setReloadable, setSearchExternalFirst, stopInternal, toStringdestroyInternal, getDomain, getObjectName, initInternal, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregisterpublic CustomWebappLoader()
public CustomWebappLoader(java.lang.ClassLoader parent)
parent - The parent class loaderpublic void setClasspathFiles(java.lang.String classpathFiles)
classpathFiles attribute is automatically set from the context xml file.classpathFiles - Files separated by ; Which contains ; separated list of path entries.public void setSecondaryClasspathFiles(java.lang.String secondaryClasspathFiles)
secondaryClasspathFiles attribute is automatically set from the context xml file.secondaryClasspathFiles - Files separated by ; Which contains ; separated list of path entries.protected void startInternal()
throws org.apache.catalina.LifecycleException
LifecycleBase.startInternal().startInternal in class org.apache.catalina.loader.WebappLoaderorg.apache.catalina.LifecycleException - if this component detects a fatal error that prevents this component from being used.