I've been looking but haven't been able to figure it out... How do I get a reference to GuiceFilter so I can call destroy()?
It appears that GuiceObjectFactory from the Struts2 plugin is causing GuiceFilter to be created but I can't figure how to get a reference to it. (or should I just turn off the warning for the unit tests?) On May 20, 6:35 pm, "Dhanji R. Prasanna" <[email protected]> wrote: > Yea you need to call GuiceFilter.destroy() in your test tearDown, to clean > up. > If you are not using the in-code servlet configuration(i.e. > filter().through(), etc.), however, you can safely ignore this warning. > > Dhanji. > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" 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?hl=en -~----------~----~----~----~------~----~------~--~---
