org.apache.catalina.startup
Class UserConfig
java.lang.Object
org.apache.catalina.startup.UserConfig
- LifecycleListener
public final class UserConfig
extends java.lang.Object
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
Version:
- Craig R. McClanahan
String | getConfigClass() - Return the Context configuration class name.
|
String | getContextClass() - Return the Context implementation class name.
|
int | getDebug() - Return the debugging detail level for this component.
|
String | getDirectoryName() - Return the directory name for user web applications.
|
String | getHomeBase() - Return the base directory containing user home directories.
|
String | getUserClass() - Return the user database class name for this component.
|
void | lifecycleEvent(LifecycleEvent event) - Process the START event for an associated Host.
|
void | setConfigClass(String configClass) - Set the Context configuration class name.
|
void | setContextClass(String contextClass) - Set the Context implementation class name.
|
void | setDebug(int debug) - Set the debugging detail level for this component.
|
void | setDirectoryName(String directoryName) - Set the directory name for user web applications.
|
void | setHomeBase(String homeBase) - Set the base directory containing user home directories.
|
void | setUserClass(String userClass) - Set the user database class name for this component.
|
getConfigClass
public String getConfigClass()
Return the Context configuration class name.
getContextClass
public String getContextClass()
Return the Context implementation class name.
getDebug
public int getDebug()
Return the debugging detail level for this component.
getDirectoryName
public String getDirectoryName()
Return the directory name for user web applications.
getHomeBase
public String getHomeBase()
Return the base directory containing user home directories.
getUserClass
public String getUserClass()
Return the user database class name for this component.
setConfigClass
public void setConfigClass(String configClass)
Set the Context configuration class name.
configClass
- The new Context configuration class name.
setContextClass
public void setContextClass(String contextClass)
Set the Context implementation class name.
contextClass
- The new Context implementation class name.
setDebug
public void setDebug(int debug)
Set the debugging detail level for this component.
debug
- The new debugging detail level
setDirectoryName
public void setDirectoryName(String directoryName)
Set the directory name for user web applications.
directoryName
- The new directory name
setHomeBase
public void setHomeBase(String homeBase)
Set the base directory containing user home directories.
homeBase
- The new base directory
setUserClass
public void setUserClass(String userClass)
Set the user database class name for this component.
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.