com.ibm.websphere.webmsg.publisher.jndijms

Class JmsPublisherServlet

  • java.lang.Object
    • javax.servlet.GenericServlet
      • javax.servlet.http.HttpServlet
        • com.ibm.websphere.webmsg.publisher.jndijms.JmsPublisherServlet
  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig


    public class JmsPublisherServlet
    extends javax.servlet.http.HttpServlet
    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

      Fields 
      Modifier and Type Field and Description
      static java.lang.String PUBLISHER_SERVLET_CONTEXT_KEY
      Key to store in servlet context.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void destroy() 
      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

        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:
        Constant Field Values
    • Constructor Detail

      • JmsPublisherServlet

        public JmsPublisherServlet()
        See Also:
        HttpServlet.HttpServlet()
    • Method Detail

      • destroy

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

        public void init()
                  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()
IBM WebSphere Application Server [webmsg.publisher]