com.ibm.websphere.webmsg.publisher.jndijms

Class JmsPublisherServlet

  1. java.lang.Object
  2. extended byjavax.servlet.GenericServlet
  3. extended byjavax.servlet.http.HttpServlet
  4. extended bycom.ibm.websphere.webmsg.publisher.jndijms.JmsPublisherServlet
All implemented interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

  1. public class JmsPublisherServlet
  2. extends javax.servlet.http.HttpServlet
  3. implements javax.servlet.Servlet
Servlet implementation class for Servlet: JmsPublisherServlet. Keeps an instance of an JmsPublisher in the servlet context for other servlets to use.
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
PUBLISHER_SERVLET_CONTEXT_KEY
Key to store in servlet context.

Constructor Summary

Constructor and Description
JmsPublisherServlet()

Method Summary

Modifier and Type Method and Description
  1. void
destroy()
  1. void
init()
Instantiates and initialises a JmsPublisher instance using the Servlet init Parameters are automatically passed to the initialisation routines of the JmsPublisher.
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.servlet.Servlet
getServletConfig, getServletInfo, init, service

Field Detail

PUBLISHER_SERVLET_CONTEXT_KEY

  1. public static final java.lang.String PUBLISHER_SERVLET_CONTEXT_KEY
Key to store in servlet context. Should be used by servlet logic to retrieve JmsPublisher
See Also:

Constructor Detail

JmsPublisherServlet

  1. public JmsPublisherServlet()
See Also:
HttpServlet.HttpServlet()

Method Detail

destroy

  1. public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet
See Also:
Servlet.destroy()

init

  1. public void init()
  2. throws javax.servlet.ServletException
Instantiates and initialises a JmsPublisher instance using the Servlet init Parameters are automatically passed to the initialisation routines of the JmsPublisher.
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException
See Also:
GenericServlet.init()