org.apache.catalina.launcher

Class CatalinaLaunchFilter

Implemented Interfaces:
LaunchFilter

public class CatalinaLaunchFilter
extends java.lang.Object
implements LaunchFilter

This class implements the LaunchFilter interface. This class is designed to unconditionally force the "waitforchild" attribute for certain Catalina applications to true.

Author:
Patrick Luby

Method Summary

void
filter(LaunchCommand launchCommand)
This method allows dynamic configuration and error checking of the attributes and nested elements in a "launch" task that is launching a Catalina application.

Method Details

filter

public void filter(LaunchCommand launchCommand)
            throws BuildException
This method allows dynamic configuration and error checking of the attributes and nested elements in a "launch" task that is launching a Catalina application. This method evaluates the nested command line arguments and, depending on which class is specified in the task's "classname" attribute, may force the application to run in the foreground by forcing the "waitforchild" attribute to "true".

Parameters:
launchCommand - a configured instance of the LaunchTask class


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.