|
From: Juergen H. <ju...@in...> - 2005-03-04 16:18:16
|
Well, the upcoming 1.2 RC1 might not be a bad occasion for this :-) I'll consider adding such a class to the org.springframework.web.filter package. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Oliver Hutchison Sent: Friday, March 04, 2005 12:03 AM To: spr...@li... Subject: RE: [Springframework-developer] GenericFilterBean dependency injection > Currently there is no way to inject dependencies into filter. > Instead, it must lookup for beans in application context. It > would be great to initialize fields of filter with beans, > corresponding to init-param values instead of with that > values themselves. Check out FilterToBeanProxy which is part of the Acegi project: http://acegisecurity.sourceforge.net/multiproject/acegi-security/apidocs /net/sf/acegisecurity/util/FilterToBeanProxy.html Hopefully this will become part of Spring core (hint) soon. Ollie ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |