com.sun.enterprise.web
Class EjbWebServiceServletInfo

java.lang.Object
  extended by com.sun.enterprise.web.EjbWebServiceServletInfo
All Implemented Interfaces:
AdHocServletInfo

public class EjbWebServiceServletInfo
extends java.lang.Object
implements AdHocServletInfo

Implementation of AdHocServletInfo interface providing information specific to the ad-hoc servlet responsible for servicing HTTP requests for EJB webservice endpoints.

Author:
Jan Luehe

Field Summary
static java.lang.String EJB_SERVLET_NAME
           
 
Constructor Summary
EjbWebServiceServletInfo()
           
 
Method Summary
 java.lang.Class getServletClass()
          Returns the class type of the servlet that should be created to process requests.
 java.util.Map<java.lang.String,java.lang.String> getServletInitParams()
          Returns a Map containing name and value pairs to be used in preparing the init params in the servlet's ServletConfig object.
 java.lang.String getServletName()
          Returns the name of the servlet that the container should assign when it adds a servlet to a web module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EJB_SERVLET_NAME

public static final java.lang.String EJB_SERVLET_NAME
See Also:
Constant Field Values
Constructor Detail

EjbWebServiceServletInfo

public EjbWebServiceServletInfo()
Method Detail

getServletClass

public java.lang.Class getServletClass()
Returns the class type of the servlet that should be created to process requests. Note that the class must represent a subclass of HttpServlet.

Specified by:
getServletClass in interface AdHocServletInfo
Returns:
The servlet class

getServletName

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

Specified by:
getServletName in interface AdHocServletInfo
Returns:
The servlet name

getServletInitParams

public java.util.Map<java.lang.String,java.lang.String> getServletInitParams()
Returns a Map containing name and value pairs to be used in preparing the init params in the servlet's ServletConfig object.

Specified by:
getServletInitParams in interface AdHocServletInfo
Returns:
Map containing the servlet init parameters


Copyright © 2012 GlassFish Community. All Rights Reserved.