org.activemq.web
Class SpringBrokerServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.activemq.web.SpringBrokerServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class SpringBrokerServlet
extends HttpServlet

This servlet when initialized will create an ActiveMQ message broker

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Constructor Summary
SpringBrokerServlet()
           
 
Method Summary
protected  org.activemq.broker.BrokerContainer createBroker(ServletContext context)
          Factory method to create a new ActiveMQ Broker
 void destroy()
           
 String getServletInfo()
           
 void init()
           
 void service(HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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

SpringBrokerServlet

public SpringBrokerServlet()
Method Detail

init

public void init()
          throws ServletException
Throws:
ServletException

destroy

public void destroy()

service

public void service(HttpServletRequest request,
                    HttpServletResponse response)
             throws IOException
Throws:
IOException

getServletInfo

public String getServletInfo()

createBroker

protected org.activemq.broker.BrokerContainer createBroker(ServletContext context)
Factory method to create a new ActiveMQ Broker



Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.