FileDocCategorySizeDatePackage
AdHocServletInfo.javaAPI DocGlassfish v2 API3033Fri May 04 22:36:00 BST 2007com.sun.enterprise.web

AdHocServletInfo

public interface AdHocServletInfo
Specifies behavior that the requester of an ad hoc path must implement.

The web container will call back to these methods when it needs to create an instance of the servlet to support the path.

author
Tim Quinn

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ClassgetServletClass()
Returns the class type of the servlet that should be created to process requests. Note that the class must represent a subclass of HttpServlet.

return
The servlet class

public java.util.MapgetServletInitParams()
Returns a Map containing name and value pairs to be used in preparing the init params in the servlet's ServletConfig object.

return
Map containing the servlet init parameters

public java.lang.StringgetServletName()
Returns the name of the servlet that the container should assign when it adds a servlet to a web module.

return
The servlet name