Yes, I mean something like this, with injector initialized in WebApplication.
On Fri, Feb 6, 2009 at 4:06 PM, Martin Grigorov <[email protected]> wrote: > I have seen such code somewhere: > > > public class myLDM extends LoadableDetachableModel { > > transient @SpringBean myDAO; > > public Object load() { > InjectorHolder.getInjector().inject(this); > return myDAO.get(...); > } > > } > > El vie, 06-02-2009 a las 13:21 +0100, Martijn Dashorst escribió: >> How would you inject the dao then? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
