org.apache.commons.cactus
Class ServiceDefinition

java.lang.Object
  |
  +--org.apache.commons.cactus.ServiceDefinition

public class ServiceDefinition
extends java.lang.Object

Constants that define HTTP parameters required for defining a service that is performed by the ServletTestRedirector servlet.


Field Summary
static java.lang.String AUTOSESSION_NAME_PARAM
          Name of the parameter in the HTTP request that specify if a session should be automatically created for the user or not.
static java.lang.String CLASS_NAME_PARAM
          Name of the parameter in the HTTP request that represents the name of the Test class to call.
static java.lang.String METHOD_NAME_PARAM
          Name of the parameter in the HTTP request that represents the name of the Test method to call.
static java.lang.String SERVICE_NAME_PARAM
          Name of the parameter in the HTTP request that specify the service asked to the Redirector Servlet.
 
Constructor Summary
ServiceDefinition()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME_PARAM

public static final java.lang.String CLASS_NAME_PARAM
Name of the parameter in the HTTP request that represents the name of the Test class to call. The name is voluntarily long so that it will not clash with a user-defined parameter.

METHOD_NAME_PARAM

public static final java.lang.String METHOD_NAME_PARAM
Name of the parameter in the HTTP request that represents the name of the Test method to call. The name is voluntarily long so that it will not clash with a user-defined parameter.

AUTOSESSION_NAME_PARAM

public static final java.lang.String AUTOSESSION_NAME_PARAM
Name of the parameter in the HTTP request that specify if a session should be automatically created for the user or not.

SERVICE_NAME_PARAM

public static final java.lang.String SERVICE_NAME_PARAM
Name of the parameter in the HTTP request that specify the service asked to the Redirector Servlet. It can be either to ask the Redirector Servlet to call the test method or to ask the Redirector Servlet to return the result of the last test.
See Also:
ServiceEnumeration
Constructor Detail

ServiceDefinition

public ServiceDefinition()


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