org.apache.catalina.startup

Class UserConfig

public final class UserConfig extends Object implements 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

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Craig R. McClanahan

Method Summary
StringgetConfigClass()
Return the Context configuration class name.
StringgetContextClass()
Return the Context implementation class name.
StringgetDirectoryName()
Return the directory name for user web applications.
StringgetHomeBase()
Return the base directory containing user home directories.
StringgetUserClass()
Return the user database class name for this component.
voidlifecycleEvent(LifecycleEvent event)
Process the START event for an associated Host.
voidsetConfigClass(String configClass)
Set the Context configuration class name.
voidsetContextClass(String contextClass)
Set the Context implementation class name.
voidsetDirectoryName(String directoryName)
Set the directory name for user web applications.
voidsetHomeBase(String homeBase)
Set the base directory containing user home directories.
voidsetUserClass(String userClass)
Set the user database class name for this component.

Method Detail

getConfigClass

public String getConfigClass()
Return the Context configuration class name.

getContextClass

public String getContextClass()
Return the Context implementation class name.

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.

lifecycleEvent

public void lifecycleEvent(LifecycleEvent event)
Process the START event for an associated Host.

Parameters: event The lifecycle event that has occurred

setConfigClass

public void setConfigClass(String configClass)
Set the Context configuration class name.

Parameters: configClass The new Context configuration class name.

setContextClass

public void setContextClass(String contextClass)
Set the Context implementation class name.

Parameters: contextClass The new Context implementation class name.

setDirectoryName

public void setDirectoryName(String directoryName)
Set the directory name for user web applications.

Parameters: directoryName The new directory name

setHomeBase

public void setHomeBase(String homeBase)
Set the base directory containing user home directories.

Parameters: homeBase The new base directory

setUserClass

public void setUserClass(String userClass)
Set the user database class name for this component.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.