Hi Jochen, That is what I expect. Really great!
Thank you, Feng 在2021年8月7日星期六 UTC+8 上午5:11:12<jscha...@gmail.com> 写道: > Hi, > > a Command or ConfiguredCommand won't start Jetty. > > > 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 <wufen...@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-de...@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/b640d5f9-05da-4e0d-9022-2dfa63ad369dn%40googlegroups.com.