com.caucho.jms.services
Class JMSServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.caucho.jms.services.JMSServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class JMSServlet
extends HttpServlet

See Also:
Serialized Form

Constructor Summary
JMSServlet()
           
 
Method Summary
 void init()
          Initialize the servlet.
 void service(HttpServletRequest request, HttpServletResponse response)
          Services a HTTP request.
 void setConnectionFactory(ConnectionFactory connectionFactory)
           
 void setDestination(Destination destination)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMSServlet

public JMSServlet()
Method Detail

setDestination

public void setDestination(Destination destination)

setConnectionFactory

public void setConnectionFactory(ConnectionFactory connectionFactory)

init

public void init()
Description copied from class: GenericServlet
Initialize the servlet. Servlets should override this method if they need any initialization like opening pooled database connections.

Overrides:
init in class GenericServlet

service

public void service(HttpServletRequest request,
                    HttpServletResponse response)
             throws ServletException,
                    java.io.IOException
Description copied from class: HttpServlet
Services a HTTP request. Automatically dispatches based on the request method and handles "If-Modified-Since" headers. Normally not overridden.

Overrides:
service in class HttpServlet
Parameters:
request - request information
response - response object for returning data to the client.
Throws:
ServletException
java.io.IOException