RE: [picocontainer-dev] Recursive injection
"Putrycz, Erik" <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
Where could I find the "container recorder"? I'd be curious to see what it caches to improve performance. Erik -----Original Message----- From: Konstantin Priblouda [mailto:kpriblouda-/[email protected]] Sent: Tuesday, June 19, 2007 12:40 AM To: dev-qxt/[email protected] Subject: Re: [picocontainer-dev] Recursive injection --- "Putrycz, Erik" <[email protected]> wrote: > I've been thinking about the recursion with the > different injections and > I like Jorg's idea about splitting the injection in > several steps: > 1. Resolution of the whole graph of dependencies > 2. Verification, I guess here the container and each > CAF should be able > to say if they can resolve the dependency > (pico.canResolve(...)) > 3. If verification is ok then perform injection I like it too. And this is needed for web environment - request scoped container must be created and populated really fast. At the moment there is "container recorder" which avoids parsing / execution of configuration scripts - caching dependency resolution information would surely improve performance. regards, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- JTec quality components: http://www.pribluda.de/projects/ ________________________________________________________________________ ____________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email