Inject the Spanner connection into the other class. This will ensure the
Spanner connection is established first.

Bob

On Thu, Mar 7, 2019 at 9:58 AM jiandai via google-guice <
[email protected]> wrote:

> Hi there,
>
> I have a Guice bean which need to preload some data from Spanner DB after
> it initialized, but the Spanner DB connection may not been established yet
> before that bean's binding. I was wondering if Guice allow to
> post-initialization after all the binding finished. (I know Spring support
> it)?
>
> Many thanks in advance for the nice help.
>
> Jian
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/google-guice.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-guice/b019b012-3a35-4b71-8cf9-617d3e3b3cb8%40googlegroups.com
> <https://groups.google.com/d/msgid/google-guice/b019b012-3a35-4b71-8cf9-617d3e3b3cb8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/CAGmsiP5SqB18maN_tnzdWcTxOWYLr7op6jHDL7G1WqoQzzXpdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to