org.apache.qpid.management.wsdm
Class QEmuInitializer
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.qpid.management.wsdm.QEmuInitializer
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class QEmuInitializer
- extends HttpServlet
QPid Emulator Initializer.
This component is basically responsible to create and initialize
an emulator module used for simulate object instances creation.
- See Also:
- Serialized Form
Method Summary |
void |
destroy()
Unregister QPid emulator. |
void |
init()
QEmu initialization method. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QEmuInitializer
public QEmuInitializer()
init
public void init()
throws ServletException
- QEmu initialization method.
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
- when the module cannot be initialized.
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.
destroy
public void destroy()
- Unregister QPid emulator.
- Specified by:
destroy
in interface Servlet
- Overrides:
destroy
in class GenericServlet
Licensed to the Apache Software Foundation