org.apache.catalina.startup |
|
Java Source File Name | Type | Comment |
Bootstrap.java | Class | Boostrap loader for Catalina. |
BootstrapService.java | Class | Special version of the Catalina bootstrap, designed to be invoked with JNI,
and designed to allow easier wrapping by system level components, which
would otherwise be confused by the asychronous startup and shutdown Catalina
uses. |
Catalina.java | Class | Startup/Shutdown shell program for Catalina. |
CatalinaManager.java | Class | Implementation of the Catalina JMX MBean as a wrapper of the Catalina class.
To be used, the JAR containing this MBean should contain all the classes
which are present in bootstrap.jar. |
CatalinaManagerMBean.java | Interface | Catalina MBean interface.
To be used, the JAR containing this MBean should contain all the classes
which are present in bootstrap.jar. |
CatalinaService.java | Class | Startup/Shutdown shell program for Catalina. |
ClassLoaderFactory.java | Class | Utility class for building class loaders for Catalina. |
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. |
Embedded.java | Class | Convenience class to embed a Catalina servlet container environment
inside another application. |
EmbeddedManager.java | Class | Implementation of the Catalina JMX MBean as a wrapper of the Catalina class. |
EmbeddedManagerMBean.java | Interface | Embedded MBean interface. |
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. |
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. |
SecurityClassLoad.java | Class | Static class used to preload java classes when using the
Java SecurityManager so that the defineClassInPackage
RuntimePermission does not trigger an AccessControlException.
author: Glenn L. |
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. |