# Tomcat API

Packages
org.apache
org.apache.catalina
org.apache.catalina.ant: This package contains a set of `Task` implementations for Ant (version 1.6.x or later) that can be used to interact with the Manager application to deploy, undeploy, list, reload, start and stop web applications from a running instance of Tomcat.
org.apache.catalina.ant.jmx: This package contains a set of `JMX Task` implementations for Ant (version 1.6 or later) that can be used to interact with the Remote JMX JSR 160 RMI Adaptor to get/set attributes, invoke MBean operations and query for Mbeans inside a running instance of Tomcat.
org.apache.catalina.authenticator: This package contains `Authenticator` implementations for the various supported authentication methods (BASIC, DIGEST, and FORM).
org.apache.catalina.connector
org.apache.catalina.core
org.apache.catalina.deploy: This package contains Java objects that represent complex data structures from the web application deployment descriptor file (`web.xml`).
org.apache.catalina.ha: This package contains code for Clustering, the base class of a Cluster is `org.apache.catalina.Cluster` implementations of this class is done when implementing a new Cluster protocol
org.apache.catalina.ha.authenticator
org.apache.catalina.ha.context
org.apache.catalina.ha.deploy
org.apache.catalina.ha.session
org.apache.catalina.ha.tcp
org.apache.catalina.ha.util
org.apache.catalina.loader
org.apache.catalina.manager
org.apache.catalina.manager.host
org.apache.catalina.manager.util
org.apache.catalina.mbeans
org.apache.catalina.realm: This package contains `Realm` implementations for the various supported realm technologies for authenticating users and identifying their associated roles.
org.apache.catalina.security
org.apache.catalina.servlets: This package contains `Servlets` that implement some of the standard functionality provided by the Catalina servlet container.
org.apache.catalina.session: This package contains the standard `Manager` and `Session` implementations that represent the collection of active sessions and the individual sessions themselves, respectively, that are associated with a `Context`.
org.apache.catalina.ssi: This package contains code that is used by the SsiInvoker.
org.apache.catalina.startup

org.apache.catalina.tribes

Apache Tribes - The Tomcat Cluster Communication Module QuickStart `//create a channel Channel myChannel = new GroupChannel(); //create my listeners MyMessageListener msgListener = new MyMessageListener(); MyMemberListener mbrListener = new MyMemberListener(); //attach the listeners to the channel myChannel.addMembershipListener(mbrListener); myChannel.addChannelListener(msgListener); //start the channel myChannel.start(Channel.DEFAULT); //create a message to be sent, message must implement java.io.Serializable //for performance reasons you probably want them to implement java.io.Externalizable Serializable myMsg = new MyMessage(); //retrieve my current members Member[] group = myChannel.getMembers(); //send the message channel.send(group,myMsg,Channel.SEND_OPTIONS_DEFAULT);` Interfaces for the Application Developer `org.apache.catalina.tribes.Channel` Main component to interact with to send messages `org.apache.catalina.tribes.MembershipListener` Listen to membership changes `org.apache.catalina.tribes.ChannelListener` Listen to data messages `org.apache.catalina.tribes.Member` Identifies a node, implementation specific, default is org.apache.catalina.tribes.membership.MemberImpl Interfaces for the Tribes Component Developer `org.apache.catalina.tribes.Channel` Main component to that the application interacts with `org.apache.catalina.tribes.ChannelReceiver` IO Component to receive messages over some network transport `org.apache.catalina.tribes.ChannelSender` IO Component to send messages over some network transport `org.apache.catalina.tribes.MembershipService` IO Component that handles membership discovery and `org.apache.catalina.tribes.ChannelInterceptor` interceptors between the Channel and the IO layer `org.apache.catalina.tribes.ChannelMessage` The message that is sent through the interceptor stack down to the IO layer `org.apache.catalina.tribes.Member` Identifies a node, implementation specific to the underlying IO logic

org.apache.catalina.tribes.group
org.apache.catalina.tribes.group.interceptors
org.apache.catalina.tribes.io
org.apache.catalina.tribes.membership
org.apache.catalina.tribes.tipis
org.apache.catalina.tribes.transport
org.apache.catalina.tribes.transport.bio
org.apache.catalina.tribes.transport.bio.util
org.apache.catalina.tribes.transport.nio
org.apache.catalina.tribes.util
org.apache.catalina.users
org.apache.catalina.util
org.apache.catalina.valves: This package contains a variety of small Valve implementations that do not warrant being packaged separately.
org.apache.coyote
org.apache.coyote.ajp
org.apache.coyote.http11
org.apache.coyote.http11.filters
org.apache.coyote.memory
org.apache.el
org.apache.el.lang
org.apache.el.parser
org.apache.el.util
org.apache.jasper
org.apache.jasper.compiler
org.apache.jasper.compiler.tagplugin
org.apache.jasper.el
org.apache.jasper.runtime
org.apache.jasper.security
org.apache.jasper.servlet
org.apache.jasper.tagplugins.jstl
org.apache.jasper.tagplugins.jstl.core
org.apache.jasper.util
org.apache.jasper.xmlparser
org.apache.jk.apr
org.apache.jk.common
org.apache.jk.config
org.apache.jk.core: Jk2 interfaces Core interfaces for jk2, similar with the interfaces defined in the C side ( jk2/include ).
org.apache.jk.server
org.apache.juli
org.apache.juli.logging: Overview This implementation of commons-logging uses a commons-logging.jar specific to a particular logging framework, instead of discovery.
org.apache.naming: This package contains a memory based naming service provider.
org.apache.naming.factory: This package contains object factories used by the naming service.
org.apache.naming.factory.webservices
org.apache.naming.java: This package contains the URL context factory for the "java" namespace.
org.apache.naming.resources: This package contains the resources directory context implemetation.
org.apache.naming.resources.jndi
org.apache.tomcat
org.apache.tomcat.buildutil
org.apache.tomcat.jni
org.apache.tomcat.util
org.apache.tomcat.util.buf: Buffers and Encodings This package contains buffers and utils to perform encoding/decoding of buffers.
org.apache.tomcat.util.collections: Specialized collections This package includes a number of special collections, tunned for server-side applications.
org.apache.tomcat.util.digester: The Digester package provides for rules-based processing of arbitrary XML documents.
org.apache.tomcat.util.http: Special utils for handling HTTP-specific entities - headers, parameters, cookies, etc.
org.apache.tomcat.util.http.fileupload: Component for handling html file uploads as given by rfc 1867 RFC 1867.
org.apache.tomcat.util.http.mapper
org.apache.tomcat.util.log
org.apache.tomcat.util.modeler: The Modeler component of the Jakarta Commons subproject offers convenient support for configuring and instantiating Model MBeans (management beans), as described in the JMX Specification.
org.apache.tomcat.util.modeler.modules: Implementation classes - should not be used directly.
org.apache.tomcat.util.net
org.apache.tomcat.util.net.jsse
org.apache.tomcat.util.res
org.apache.tomcat.util.threads

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.