Hi,

a Command or ConfiguredCommand won't start Jetty.

https://www.dropwizard.io/en/release-2.0.x/manual/core.html#configured-commands 
<https://www.dropwizard.io/en/release-2.0.x/manual/core.html#configured-commands>

Cheers,
Jochen

> Am 06.08.2021 um 10:22 schrieb Feng Lei <wufengle...@gmail.com>:
> 
> Hi Dropwizard,
> 
> I have a one time job. Trying to make it being powered by dropwizard. In 
> theory, I can use dropwizard command to achieve like this blog recommend. 
> https://sadique.io/blog/2019/07/28/managing-environment-lifecycles-for-dropwizard-commands/
> 
> But what my concern is whether the dropwizard will still start the Jersey 
> whatever after my custom command was finished.
> 
> Because my job is only needed to be executed once time, so don't need a 
> Jersey always stand-by. Clean up everything once the command is over.
> 
> Could you let me know what the truth is?
> 
> 
> 
> -- 
> 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 
> <mailto:dropwizard-dev+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dropwizard-dev/7b2009c9-8a5e-4406-a2ac-17befc69c78an%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/dropwizard-dev/7b2009c9-8a5e-4406-a2ac-17befc69c78an%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/FFF1212E-D409-43C7-A2A1-E6C8B96F0409%40schalanda.name.

Reply via email to