org.apache.qpid.management.servlet
Class ConnectQManToBroker
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.muse.core.platform.mini.MiniServlet
org.apache.qpid.management.servlet.ConnectQManToBroker
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class ConnectQManToBroker
- extends org.apache.muse.core.platform.mini.MiniServlet
When QMan is started and a configuration file is given
(via system property) with initial broker connection data(s),
this servlet simply sends connect command(s) to QMan in order
to estabilish the connection(s) to the requested broker(s).
- See Also:
- Serialized Form
Method Summary |
void |
init()
Send one or more initial "connect" command(s) to QMan in order
to estabilish a connection with broker found on the configuration file.. |
void |
service(HttpServletRequest request,
HttpServletResponse response)
This is a startup module only so an override of the default servlet
behaviour must be done in order to prevent incoming http
requests processing. |
Methods inherited from class org.apache.muse.core.platform.mini.MiniServlet |
createIsolationLayer, doPost |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectQManToBroker
public ConnectQManToBroker()
init
public void init()
- Send one or more initial "connect" command(s) to QMan in order
to estabilish a connection with broker found on the configuration file..
Note that this is done only if that configuration file is given (via system
property) and it is valid.
- Overrides:
init
in class GenericServlet
service
public void service(HttpServletRequest request,
HttpServletResponse response)
throws ServletException
- This is a startup module only so an override of the default servlet
behaviour must be done in order to prevent incoming http
requests processing.
- Overrides:
service
in class HttpServlet
- Parameters:
request
- the http request.response
- the http response.
- Throws:
ServletException
- each time this method is called.
Licensed to the Apache Software Foundation