Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The ServiceMix container reads the servicemix.xml file and sees it needs to instantiate a HttpConnector.
  2. The container calls the init() method of HttpConnector. The init() method sets the listener's host and port property in which the HttpConnector will listen to.
  3. The container calls the start() method of HttpConnector. The start() method will:
    A. Adds a listener object to the server property of HttpConnector.
    B. Creates a new HttpContext that contains a ServletHandler class. ServletHandler maps requests to servlets that implement the javax.servlet.http.HttpServlet API. In this case, ServletHandler maps the request to BindingServlet class.
    C. The server porperty property of HttpConnector is started.

...