Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » catalina » startup » [javadoc | source]
org.apache.catalina.startup
public final class: UserConfig [javadoc | source]
java.lang.Object
   org.apache.catalina.startup.UserConfig

All Implemented Interfaces:
    LifecycleListener

Startup event listener for a Host that configures Contexts (web applications) for all defined "users" who have a web application in a directory with the specified name in their home directories. The context path of each deployed application will be set to ~xxxxx, where xxxxx is the username of the owning user for that web application
Method from org.apache.catalina.startup.UserConfig Summary:
getConfigClass,   getContextClass,   getDirectoryName,   getHomeBase,   getUserClass,   lifecycleEvent,   setConfigClass,   setContextClass,   setDirectoryName,   setHomeBase,   setUserClass
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.startup.UserConfig Detail:
 public String getConfigClass() 
    Return the Context configuration class name.
 public String getContextClass() 
    Return the Context implementation class name.
 public String getDirectoryName() 
    Return the directory name for user web applications.
 public String getHomeBase() 
    Return the base directory containing user home directories.
 public String getUserClass() 
    Return the user database class name for this component.
 public  void lifecycleEvent(LifecycleEvent event) 
    Process the START event for an associated Host.
 public  void setConfigClass(String configClass) 
    Set the Context configuration class name.
 public  void setContextClass(String contextClass) 
    Set the Context implementation class name.
 public  void setDirectoryName(String directoryName) 
    Set the directory name for user web applications.
 public  void setHomeBase(String homeBase) 
    Set the base directory containing user home directories.
 public  void setUserClass(String userClass) 
    Set the user database class name for this component.