/**
* Forward this request and response to another resource for processing.
* Any runtime exception, IOException, or ServletException thrown by the
- * called servlet will be propogated to the caller.
+ * called servlet will be propagated to the caller.
*
* @param request The servlet request to be forwarded
* @param response The servlet response to be forwarded
if (response instanceof ResponseFacade) {
((ResponseFacade) response).finish();
} else {
- // Servlet SRV.6.2.2. The Resquest/Response may have been wrapped
+ // Servlet SRV.6.2.2. The Request/Response may have been wrapped
// and may no longer be instance of RequestFacade
if (wrapper.getLogger().isDebugEnabled()){
wrapper.getLogger().debug( " The Response is vehiculed using a wrapper: "
/**
* Include the response from another resource in the current response.
* Any runtime exception, IOException, or ServletException thrown by the
- * called servlet will be propogated to the caller.
+ * called servlet will be propagated to the caller.
*
* @param request The servlet request that is including this one
* @param response The servlet response to be appended to
import org.apache.catalina.deploy.FilterMap;
/**
- * Factory for the creation and caching of Filters and creationg
+ * Factory for the creation and caching of Filters and creation
* of Filter Chains.
*
* @author Greg Murray
/*
- * Prevent instanciation outside of the getInstanceMethod().
+ * Prevent instantiation outside of the getInstanceMethod().
*/
private ApplicationFilterFactory() {
}
/**
- * Return the fqctory instance.
+ * Return the factory instance.
*/
public static ApplicationFilterFactory getInstance() {
if (factory == null) {
/**
- * Convienience method which returns true if the dispatcher type
+ * Convenience method which returns true if the dispatcher type
* matches the dispatcher types specified in the FilterMap
*/
private boolean matchDispatcher(FilterMap filterMap, DispatcherType type) {
/**
- * If this request is cross context, since this changes session accesss
+ * If this request is cross context, since this changes session access
* behavior.
*/
protected boolean crossContext = false;
*
* @exception IllegalArgumentException if this Container refused to
* accept the specified Valve
- * @exception IllegalArgumentException if the specifie Valve refuses to be
+ * @exception IllegalArgumentException if the specified Valve refuses to be
* associated with this Container
* @exception IllegalStateException if the specified Valve is already
* associated with a different Container
/**
* <p>Set the Valve instance that has been distinguished as the basic
- * Valve for this Pipeline (if any). Prioer to setting the basic Valve,
+ * Valve for this Pipeline (if any). Prior to setting the basic Valve,
* the Valve's <code>setContainer()</code> will be called, if it
* implements <code>Contained</code>, with the owning Container as an
* argument. The method may throw an <code>IllegalArgumentException</code>
/**
- * Return the abbreviated name of this container for logging messsages
+ * Return the abbreviated name of this container for logging messages
*/
protected String logName() {
/**
* Filter mappings added via {@link ServletContext} may have to be inserted
- * before the mappings in the deploymenmt descriptor but must be inserted in
+ * before the mappings in the deployment descriptor but must be inserted in
* the order the {@link ServletContext} methods are called. This isn't an
* issue for the mappings added after the deployment descriptor - they are
* just added to the end - but correctly the adding mappings before the
* Set the original document root for this Context. This can be an absolute
* pathname, a relative pathname, or a URL.
*
- * @param docBase The orginal document root
+ * @param docBase The original document root
*/
public void setOriginalDocBase(String docBase) {
*/
private Service service = null;
- /** Allow the base dir to be specified explicitely for
+ /** Allow the base dir to be specified explicitly for
* each engine. In time we should stop using catalina.base property -
* otherwise we loose some flexibility.
*/
public Realm getRealm() {
Realm configured=super.getRealm();
// If no set realm has been called - default to JAAS
- // This can be overriden at engine, context and host level
+ // This can be overridden at engine, context and host level
if( configured==null ) {
configured=new JAASRealm();
this.setRealm( configured );
//}
if( service==null ) {
- // for consistency...: we are probably in embeded mode
+ // for consistency...: we are probably in embedded mode
try {
service=new StandardService();
service.setContainer( this );
/**
- * Attribute value used to turn on/off XML namespace awarenes.
+ * Attribute value used to turn on/off XML namespace awareness.
*/
private boolean xmlNamespaceAware = false;
/**
* Return the value of the deploy on startup flag. If true, it indicates
- * that this host's child webapps should be discovred and automatically
+ * that this host's child webapps should be discovered and automatically
* deployed at startup time.
*/
public boolean getDeployOnStartup() {
/**
* Get the server.xml <host> attribute's xmlNamespaceAware.
- * @return true if namespace awarenes is enabled.
+ * @return true if namespace awareness is enabled.
*
*/
public boolean getXmlNamespaceAware(){
// -------------------- JMX --------------------
/**
- * Return the MBean Names of the Valves assoicated with this Host
+ * Return the MBean Names of the Valves associated with this Host
*
* @exception Exception if an MBean cannot be created or registered
*/
/**
* <p>Set the Valve instance that has been distinguished as the basic
- * Valve for this Pipeline (if any). Prioer to setting the basic Valve,
+ * Valve for this Pipeline (if any). Prior to setting the basic Valve,
* the Valve's <code>setContainer()</code> will be called, if it
* implements <code>Contained</code>, with the owning Container as an
* argument. The method may throw an <code>IllegalArgumentException</code>
*
* @exception IllegalArgumentException if this Container refused to
* accept the specified Valve
- * @exception IllegalArgumentException if the specifie Valve refuses to be
+ * @exception IllegalArgumentException if the specified Valve refuses to be
* associated with this Container
* @exception IllegalStateException if the specified Valve is already
* associated with a different Container
log.error("StandardPipeline.removeValve: stop: ", e);
}
}
- // Unregister the removed valave
+ // Unregister the removed valve
unregisterValve(valve);
}
}
}
}
- // FIXME pero -- Why container stop first? KeepAlive connetions can send request!
+ // FIXME pero -- Why container stop first? KeepAlive connections can send request!
// Stop our defined Connectors first
synchronized (connectors) {
for (int i = 0; i < connectors.length; i++) {
if( oname==controller ) {
// we registered ourself on init().
// That should be the typical case - this object is just for
- // backward compat, nobody should bother to load it explicitely
+ // backward compat, nobody should bother to load it explicitly
Registry.getRegistry(null, null).unregisterComponent(oname);
Executor[] executors = findExecutors();
for (int i = 0; i < executors.length; i++) {
public void initialize()
throws LifecycleException
{
- // Service shouldn't be used with embeded, so it doesn't matter
+ // Service shouldn't be used with embedded, so it doesn't matter
if (initialized) {
if(log.isInfoEnabled())
log.info(sm.getString("standardService.initialize.initialized"));
/**
- * Create a new facede around a StandardWrapper.
+ * Create a new facade around a StandardWrapper.
*/
public StandardWrapperFacade(StandardWrapper config) {
// ----------------------------------------------------- Instance Variables
- // Some JMX statistics. This vavle is associated with a StandardWrapper.
+ // Some JMX statistics. This valve is associated with a StandardWrapper.
// We expose the StandardWrapper as JMX ( j2eeType=Servlet ). The fields
// are here for performance.
private volatile long processingTime;