org.apache.catalina.startup |
|
Java Source File Name | Type | Comment |
Bootstrap.java | Class | Boostrap loader for Catalina. |
Catalina.java | Class | Startup/Shutdown shell program for Catalina. |
CatalinaProperties.java | Class | Utility class to read the bootstrap Catalina configuration. |
ClassLoaderFactory.java | Class | Utility class for building class loaders for Catalina. |
ClusterRuleSet.java | Class | RuleSet for processing the contents of a
Cluster definition element. |
Constants.java | Class | String constants for the startup package.
author: Craig R. |
ContextConfig.java | Class | Startup event listener for a Context that configures the properties
of that Context, and the associated defined servlets.
author: Craig R. |
ContextRuleSet.java | Class | RuleSet for processing the contents of a
Context or DefaultContext definition element. |
CopyParentClassLoaderRule.java | Class | Rule that copies the parentClassLoader property from the
next-to-top item on the stack (which must be a Container )
to the top item on the stack (which must also be a
Container ).
author: Craig R. |
DigesterFactory.java | Class | |
Embedded.java | Class | Convenience class to embed a Catalina servlet container environment
inside another application. |
EngineConfig.java | Class | Startup event listener for a Engine that configures the properties
of that Engine, and the associated defined contexts.
author: Craig R. |
EngineRuleSet.java | Class | RuleSet for processing the contents of a
Engine definition element. |
ExpandWar.java | Class | Expand out a WAR in a Host's appBase.
author: Craig R. |
HomesUserDatabase.java | Class | Concrete implementation of the UserDatabase interface
considers all directories in a directory whose pathname is specified
to our constructor to be "home" directories for those users.
author: Craig R. |
HostConfig.java | Class | Startup event listener for a Host that configures the properties
of that Host, and the associated defined contexts.
author: Craig R. |
HostRuleSet.java | Class | RuleSet for processing the contents of a
Host definition element. |
LifecycleListenerRule.java | Class | |
NamingRuleSet.java | Class | RuleSet for processing the JNDI Enterprise Naming
Context resource declaration elements.
author: Craig R. |
PasswdUserDatabase.java | Class | Concrete implementation of the UserDatabase interface
that processes the /etc/passwd file on a Unix system.
author: Craig R. |
SetAllPropertiesRule.java | Class | Rule that uses the introspection utils to set properties. |
SetDocBaseRule.java | Class | |
TldConfig.java | Class | Startup event listener for a Context that configures the properties
of that Context, and the associated defined servlets.
author: Craig R. |
TldRuleSet.java | Class | RuleSet for processing the contents of a tag library
descriptor resource.
author: Craig R. |
Tool.java | Class | General purpose wrapper for command line tools that should execute in an
environment with the common class loader environment set up by Catalina.
This should be executed from a command line script that conforms to
the following requirements:
- Passes the
catalina.home system property configured with
the pathname of the Tomcat installation directory.
- Sets the system classpath to include
bootstrap.jar and
$JAVA_HOME/lib/tools.jar .
The command line to execute the tool looks like:
java -classpath $CLASSPATH org.apache.catalina.startup.Tool \
${options} ${classname} ${arguments}
with the following replacement contents:
- ${options} - Command line options for this Tool wrapper.
The following options are supported:
- -ant : Set the
ant.home system property
to corresponding to the value of catalina.home
(useful when your command line tool runs Ant).
- -common : Add
common/classes and
common/lib
- -debug : Enable debugging messages from this wrapper.
- -server : Add
server/classes and
server/lib to the class loader repositories.
- -shared : Add
shared/classes and
shared/lib to the class loader repositories.
- ${classname} - Fully qualified Java class name of the
application's main class.
- ${arguments} - Command line arguments to be passed to
the application's
main() method.
author: Craig R. |
UserConfig.java | Class | 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. |
UserDatabase.java | Interface | Abstraction of the set of users defined by the operating system on the
current server platform.
author: Craig R. |
WebRuleSet.java | Class | RuleSet for processing the contents of a web application
deployment descriptor (/WEB-INF/web.xml ) resource.
author: Craig R. |