Comment #11 on issue 598 by [email protected]: Persist Extension: PersistService.start() cannot be called multiple times
http://code.google.com/p/google-guice/issues/detail?id=598

I don't think we should allow restarting a PersistService. Other options are:
- instead you can create a new Injector/PersistService combination
- user a child-injector (or PrivateModule) to isolate different persist services

We can add the isActive() method. However I am loathe to assume arbitrary ordering of service starts. If you install the PersistFilter it should give you a strong guarantee of having initialized the service when the filter is ready to receive requests.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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 http://groups.google.com/group/google-guice-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to