Method Summary |
|
protected File | appBase() Return a File object representing the "application root" directory
for our associated Host. |
protected void | check() Deploy webapps. |
protected void | checkContextLastModified() Check deployment descriptors last modified date. |
protected void | checkRemoveApps() |
protected File | configBase() Return a File object representing the "configuration root" directory
for our associated Host. |
protected void | deployApps() Deploy applications for any directories or WAR files that are found
in our "application root" directory. |
protected void | deployDescriptors(File configBase, String[] files) Deploy XML context descriptors. |
protected void | deployDirectories(File appBase, String[] files) Deploy directories. |
protected void | deployWARs(File appBase, String[] files) Deploy WAR files. |
protected String | expand(URL war) Expand the WAR file found at the specified URL into an unpacked
directory structure, and return the absolute pathname to the expanded
directory. |
protected void | expand(InputStream input, File docBase, String name) Expand the specified input stream into the specified directory, creating
a file named from the specified relative path. |
public String | getConfigClass() Return the Context configuration class name. |
public String | getContextClass() Return the Context implementation class name. |
public int | getDebug() Return the debugging detail level for this component. |
public boolean | getXmlNamespaceAware() Get the server.xml attribute's xmlNamespaceAware. |
public boolean | getXmlValidation() Get the server.xml attribute's xmlValidation. |
public boolean | isDeployXML() Return the deploy XML config file flag for this component. |
public boolean | isUnpackWARs() Return the unpack WARs flag. |
public void | lifecycleEvent(LifecycleEvent event) Process the START event for an associated Host. |
protected void | log(String message) |
protected void | log(String message, Throwable throwable) |
protected boolean | restartContext(Context context) |
public void | setConfigClass(String configClass) Set the Context configuration class name. |
public void | setContextClass(String contextClass) Set the Context implementation class name. |
public void | setDebug(int debug) Set the debugging detail level for this component. |
public void | setDeployXML(boolean deployXML) Set the deploy XML config file flag for this component. |
public void | setUnpackWARs(boolean unpackWARs) Set the unpack WARs flag. |
public void | setXmlNamespaceAware(boolean xmlNamespaceAware) Set the namespace aware feature of the XML parser used when
parsing xml instances. |
public void | setXmlValidation(boolean xmlValidation) Set the validation feature of the XML parser used when
parsing xml instances. |
public void | start() Process a "start" event for this Host. |
public void | stop() Process a "stop" event for this Host. |
protected void | undeployApps() Undeploy all deployed applications. |