If you register them as class, they are by default per request and this can 
be tweaked with annotations on the class (e.g., @Singleton).
If you register them as object, they are singleton without any choice.

Le mercredi 23 novembre 2016 11:16:12 UTC+1, Luca Angellucci a écrit :
>
> Hi All,
>
> perhaps it is a trivial question...in dropwizard are all resources 
> configured as singleton?
>
> Thanks,
> Luca.
>

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to