| Modifier and Type | Class and Description |
|---|---|
| protected class | Catalina.
Shutdown hook which will perform a clean shutdown of Catalina if needed. |
| public static interface | |
| pack-priv class | Catalina.
Rule that sets the parent class loader for the top object on the stack, which must be a |
| Modifier and Type | Field and Description |
|---|---|
| protected boolean | await
Use await. |
| protected String | configFile
Pathname to the server configuration file. |
| protected boolean | generateCode
Generate Tomcat embedded code from configuration files. |
| protected File | generatedCodeLocation
Location of generated sources. |
| protected String | generatedCodeLocationParameter
Value of the argument. |
| protected String | generatedCodePackage
Top package name for generated source. |
| protected boolean | loaded
Prevent duplicate loads. |
| private static final Log | |
| protected ClassLoader | parentClassLoader
The shared extensions class loader for this server. |
| protected Server | server
The server component we are starting or stopping. |
| public static final String | |
| protected Thread | shutdownHook
Shutdown hook. |
| protected static final StringManager | sm
The string manager for this package. |
| protected boolean | throwOnInitFailure
Rethrow exceptions on init failure. |
| protected boolean | useGeneratedCode
Use generated code as a replacement for configuration files. |
| protected boolean | useNaming
Is naming enabled ? |
| protected boolean | useShutdownHook
Use shutdown hook flag. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected boolean | |
| public void | |
| protected File | Returns: the main configuration fileReturn a File object representing our configuration file. |
| protected Digester | Returns: the main digester to parse server.xmlCreate and configure the Digester we will be using for startup. |
| protected Digester | Returns: the digester to process the stop operationCreate and configure the Digester we will be using for shutdown. |
| protected void | |
| protected void | |
| protected void | |
| public String | |
| public boolean | |
| public File | |
| public String | |
| public ClassLoader | |
| public Server | |
| public boolean | Returns: true if an exception should be thrown if an error occurs during server init
|
| public boolean | |
| public boolean | |
| protected void | |
| protected void | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| protected void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setParentClassLoader(ClassLoader
The shared extensions class loader. parentClassLoader)Set the shared extensions class loader. |
| protected void | |
| public void | |
| public void | setThrowOnInitFailure(boolean
the new flag value throwOnInitFailure)Set the behavior regarding errors that could occur during server init. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected void |
| await | back to summary |
|---|---|
| protected boolean await Use await. | |
| configFile | back to summary |
|---|---|
| protected String configFile Pathname to the server configuration file. | |
| generateCode | back to summary |
|---|---|
| protected boolean generateCode Generate Tomcat embedded code from configuration files. | |
| generatedCodeLocation | back to summary |
|---|---|
| protected File generatedCodeLocation Location of generated sources. | |
| generatedCodeLocationParameter | back to summary |
|---|---|
| protected String generatedCodeLocationParameter Value of the argument. | |
| generatedCodePackage | back to summary |
|---|---|
| protected String generatedCodePackage Top package name for generated source. | |
| loaded | back to summary |
|---|---|
| protected boolean loaded Prevent duplicate loads. | |
| log | back to summary |
|---|---|
| private static final Log log | |
| parentClassLoader | back to summary |
|---|---|
| protected ClassLoader parentClassLoader The shared extensions class loader for this server. | |
| server | back to summary |
|---|---|
| protected Server server The server component we are starting or stopping. | |
| SERVER_XML | back to summary |
|---|---|
| public static final String SERVER_XML | |
| shutdownHook | back to summary |
|---|---|
| protected Thread shutdownHook Shutdown hook. | |
| sm | back to summary |
|---|---|
| protected static final StringManager sm The string manager for this package. | |
| throwOnInitFailure | back to summary |
|---|---|
| protected boolean throwOnInitFailure Rethrow exceptions on init failure. | |
| useGeneratedCode | back to summary |
|---|---|
| protected boolean useGeneratedCode Use generated code as a replacement for configuration files. | |
| useNaming | back to summary |
|---|---|
| protected boolean useNaming Is naming enabled ? | |
| useShutdownHook | back to summary |
|---|---|
| protected boolean useShutdownHook Use shutdown hook flag. | |
| Catalina | back to summary |
|---|---|
| public Catalina() | |
| addClusterRuleSet | back to summary |
|---|---|
| private void addClusterRuleSet(Digester digester, String prefix) Cluster support is optional. The JARs may have been removed. | |
| arguments | back to summary |
|---|---|
| protected boolean arguments(String[] args) Process the specified command line arguments.
| |
| await | back to summary |
|---|---|
| public void await() Await and shutdown. | |
| configFile | back to summary |
|---|---|
| protected File configFile() Return a File object representing our configuration file.
| |
| createStartDigester | back to summary |
|---|---|
| protected Digester createStartDigester() Create and configure the Digester we will be using for startup.
| |
| createStopDigester | back to summary |
|---|---|
| protected Digester createStopDigester() Create and configure the Digester we will be using for shutdown.
| |
| generateClassFooter | back to summary |
|---|---|
| protected void generateClassFooter(Digester digester) | |
| generateClassHeader | back to summary |
|---|---|
| protected void generateClassHeader(Digester digester, boolean start) | |
| generateLoader | back to summary |
|---|---|
| protected void generateLoader() | |
| getConfigFile | back to summary |
|---|---|
| public String getConfigFile() | |
| getGenerateCode | back to summary |
|---|---|
| public boolean getGenerateCode() | |
| getGeneratedCodeLocation | back to summary |
|---|---|
| public File getGeneratedCodeLocation() | |
| getGeneratedCodePackage | back to summary |
|---|---|
| public String getGeneratedCodePackage() | |
| getParentClassLoader | back to summary |
|---|---|
| public ClassLoader getParentClassLoader() | |
| getServer | back to summary |
|---|---|
| public Server getServer() | |
| getThrowOnInitFailure | back to summary |
|---|---|
public boolean getThrowOnInitFailure()
| |
| getUseGeneratedCode | back to summary |
|---|---|
| public boolean getUseGeneratedCode() | |
| getUseShutdownHook | back to summary |
|---|---|
| public boolean getUseShutdownHook() | |
| initNaming | back to summary |
|---|---|
| protected void initNaming() | |
| initStreams | back to summary |
|---|---|
| protected void initStreams() | |
| isAwait | back to summary |
|---|---|
| public boolean isAwait() | |
| isUseNaming | back to summary |
|---|---|
public boolean isUseNaming()
| |
| load | back to summary |
|---|---|
| public void load() Start a new server instance. | |
| load | back to summary |
|---|---|
| public void load(String[] args) | |
| parseServerXml | back to summary |
|---|---|
| protected void parseServerXml(boolean start) | |
| setAwait | back to summary |
|---|---|
| public void setAwait(boolean b) | |
| setConfigFile | back to summary |
|---|---|
| public void setConfigFile(String file) | |
| setGenerateCode | back to summary |
|---|---|
| public void setGenerateCode(boolean generateCode) | |
| setGeneratedCodeLocation | back to summary |
|---|---|
| public void setGeneratedCodeLocation(File generatedCodeLocation) | |
| setGeneratedCodePackage | back to summary |
|---|---|
| public void setGeneratedCodePackage(String generatedCodePackage) | |
| setParentClassLoader | back to summary |
|---|---|
| public void setParentClassLoader(ClassLoader parentClassLoader) Set the shared extensions class loader.
| |
| setSecurityProtection | back to summary |
|---|---|
| protected void setSecurityProtection() Set the security package access/protection. | |
| setServer | back to summary |
|---|---|
| public void setServer(Server server) | |
| setThrowOnInitFailure | back to summary |
|---|---|
| public void setThrowOnInitFailure(boolean throwOnInitFailure) Set the behavior regarding errors that could occur during server init.
| |
| setUseGeneratedCode | back to summary |
|---|---|
| public void setUseGeneratedCode(boolean useGeneratedCode) | |
| setUseNaming | back to summary |
|---|---|
| public void setUseNaming(boolean useNaming) Enables or disables naming support.
| |
| setUseShutdownHook | back to summary |
|---|---|
| public void setUseShutdownHook(boolean useShutdownHook) | |
| start | back to summary |
|---|---|
| public void start() Start a new server instance. | |
| stop | back to summary |
|---|---|
| public void stop() Stop an existing server instance. | |
| stopServer | back to summary |
|---|---|
| public void stopServer() | |
| stopServer | back to summary |
|---|---|
| public void stopServer(String[] arguments) | |
| usage | back to summary |
|---|---|
| protected void usage() Print usage information for this application. | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | run()
Overrides java. Implements java. This method is run by the thread when it executes. |
| CatalinaShutdownHook | back to summary |
|---|---|
| protected CatalinaShutdownHook() | |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a
| |
| load | back to summary |
|---|---|
| public void load(Catalina catalina) | |
Container.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ClassLoader |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | begin(String
the namespace URI of the matching element, or an
empty string if the parser is not namespace aware or the
element has no namespace namespace, String the local name if the parser is namespace aware, or just
the element name otherwise name, Attributes The attribute list of this element attributes)Overrides org. This method is called when the beginning of a matching XML element is encountered. |
| parentClassLoader | back to summary |
|---|---|
| pack-priv ClassLoader parentClassLoader | |
| SetParentClassLoaderRule | back to summary |
|---|---|
| pack-priv SetParentClassLoaderRule(ClassLoader parentClassLoader) | |
| begin | back to summary |
|---|---|
| public void begin(String namespace, String name, Attributes attributes) throws Exception Overrides org. Doc from org. This method is called when the beginning of a matching XML element is encountered. The default implementation is a NO-OP.
| |