Comment #2 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
Well that would be nice. However this will not solve the problem when the
PersistService is already started in some ServletContextListener. What
about adding this check to the PersistFilter:
public void init(FilterConfig filterConfig) throws ServletException {
if (! persistService.isActive()) { // <--
persistService.start();
}
}
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.