Does it? It only installs PersistenceFilter if you specify unit of work as request. So in a non-servlet app it will never load that class.
We might do as you suggest anyway though--haven't quite finalized the design of how PersistFilter should work.. Dhanji. On Wed, Jul 7, 2010 at 9:37 AM, Max Bowsher <[email protected]> wrote: > Currently guice-persist *requires* the use of guice-servlet. > > I can easily envisage an application where someone wanted to use > guice-persist, but was happy with pure web.xml-based servlet configuration. > > To not needlessly inhibit, this, I think the PersistenceFilter class > should be changed from package-private to public, such that it can be > installed directly in web.xml, not only via PersistModule. > > Max. > > -- 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.
