com.caucho.server.webapp
Class WebAppConfig

java.lang.Object
  extended by com.caucho.env.deploy.DeployConfig
      extended by com.caucho.server.webapp.WebAppConfig
Direct Known Subclasses:
WebAppFragmentConfig

public class WebAppConfig
extends DeployConfig

The configuration for a web-app in the resin.conf


Constructor Summary
WebAppConfig()
           
 
Method Summary
 void addAliasUrlRegexp(java.lang.String pattern)
          Sets the url-regexp
 java.lang.String getContextPath()
          Gets the context path
 DeployConfig getPrologue()
          Gets the prologue.
 java.util.regex.Pattern getURLRegexp()
          Gets the regexp.
 void setAppDir(RawString appDir)
          Sets the app-dir.
 void setContextPath(java.lang.String path)
          Sets the context path
 void setDocumentDirectory(RawString dir)
          Sets the app-dir.
 void setLazyInit(boolean isLazy)
          Sets the startup-mode
 void setPrologue(WebAppConfig prologue)
          Sets the prologue.
 void setURLRegexp(java.lang.String pattern)
          Sets the url-regexp
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.env.deploy.DeployConfig
addBuilderProgram, addClassLoader, addPropertyProgram, calculateRootDirectory, calculateRootDirectory, getArchivePath, getBuilderProgram, getClassLoaderProgram, getExpandCleanupFileset, getId, getRedeployCheckInterval, getRedeployMode, getRootDirectory, getStartupMode, getStartupPriority, isSkipDefaultConfig, setArchivePath, setExpandCleanupFileset, setId, setRedeployCheckInterval, setRedeployMode, setRootDirectory, setSkipDefaultConfig, setStartupMode, setStartupPriority
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebAppConfig

public WebAppConfig()
Method Detail

getContextPath

public java.lang.String getContextPath()
Gets the context path


setContextPath

public void setContextPath(java.lang.String path)
                    throws ConfigException
Sets the context path

Throws:
ConfigException

setURLRegexp

public void setURLRegexp(java.lang.String pattern)
Sets the url-regexp


getURLRegexp

public java.util.regex.Pattern getURLRegexp()
Gets the regexp.


addAliasUrlRegexp

public void addAliasUrlRegexp(java.lang.String pattern)
Sets the url-regexp


setAppDir

public void setAppDir(RawString appDir)
Sets the app-dir.


setDocumentDirectory

public void setDocumentDirectory(RawString dir)
Sets the app-dir.


setLazyInit

public void setLazyInit(boolean isLazy)
                 throws ConfigException
Sets the startup-mode

Throws:
ConfigException

setPrologue

public void setPrologue(WebAppConfig prologue)
Sets the prologue.


getPrologue

public DeployConfig getPrologue()
Gets the prologue.

Overrides:
getPrologue in class DeployConfig

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object