org.exolab.jms.jndi.http.servlet
Class HttpJmsJndiServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.exolab.jms.jndi.http.servlet.HttpJmsJndiServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class HttpJmsJndiServlet
extends javax.servlet.http.HttpServlet

Servlet for handling OpenJMS JNDI requests.

Version:
$Revision: 1.8 $ $Date: 2003/08/17 01:32:23 $
Author:
Jim Mourikis
See Also:
Serialized Form

Constructor Summary
HttpJmsJndiServlet()
           
 
Method Summary
protected  void connect()
          Connect to the openjms server.
 void destroy()
          Clean up resources
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the HTTP Post request
 java.lang.String getServletInfo()
           
 void init(javax.servlet.ServletConfig config)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpJmsJndiServlet

public HttpJmsJndiServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   java.io.IOException
Process the HTTP Post request

Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

connect

protected void connect()
                throws javax.servlet.ServletException
Connect to the openjms server.

Throws:
javax.servlet.ServletException

destroy

public void destroy()
Clean up resources

Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

getServletInfo

public java.lang.String getServletInfo()
Specified by:
getServletInfo in interface javax.servlet.Servlet
Overrides:
getServletInfo in class javax.servlet.GenericServlet


Copyright © 1999-2005 The OpenJMS Group. All Rights Reserved.