Hey Robin,
This page goes into more detail about how the application starts up:
https://www.dropwizard.io/1.3.12/docs/manual/internals.html

Depending on where in the lifecycle you want to cut in at, you could 
directly call the Application.run(args) method or if you want to bypass 
most everything Dropwizard is doing, you can look at what the 
ServerCommand.run() method does.

You also could look at the DropwizardTestSupport class from the 
dropwizard-testing module to see how the application is started/stopped for 
integration tests.

Peter

On Thursday, June 6, 2019 at 2:36:34 AM UTC-7, Kuttaiah Robin wrote:
>
> Hi,
>
> Can someone help me to point the code where Dropwizzard start/stop the 
> HTTP server ?
>
> Basically when we execute below in tutorial which code starts the HTTP 
> server?
>
> java -jar target/hello-world-0.0.1-SNAPSHOT.jar server hello-world.yml
>
>
>
> I have a framework where I need to feed  Dropwizzard HTTPServer, so that 
> framework will start and stop it.
>
> Appreciate your help in advance.
>
> regards,
> Robin Kuttaiah
>

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dropwizard-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dropwizard-dev/48da5e34-8b48-442f-b0d3-f3845c24643d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to