|
Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.catalina.startup.UserConfig
public final class UserConfig
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
| Constructor Summary | |
|---|---|
UserConfig()
|
|
| Method Summary | |
|---|---|
String |
getConfigClass()
Return the Context configuration class name. |
String |
getContextClass()
Return the Context implementation class name. |
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserConfig()
| Method Detail |
|---|
public String getConfigClass()
public void setConfigClass(String configClass)
configClass - The new Context configuration class name.public String getContextClass()
public void setContextClass(String contextClass)
contextClass - The new Context implementation class name.public String getDirectoryName()
public void setDirectoryName(String directoryName)
directoryName - The new directory namepublic String getHomeBase()
public void setHomeBase(String homeBase)
homeBase - The new base directorypublic String getUserClass()
public void setUserClass(String userClass)
public void lifecycleEvent(LifecycleEvent event)
lifecycleEvent in interface LifecycleListenerevent - The lifecycle event that has occurred
|
Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||