[picocontainer-dev] Lazy lifecycle
Mark Hobson <[email protected]> Tue, 26 May 2009 16:44:26 +0100
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi there,
I need a lazy lifecycle strategy within Pico, as in one that will
start a component only once it is required. Currently
container.start() will eagerly instantiate lifecycled components
before they are actually needed. I'd like to intercept when
components are instantiated and start them before they are used.
Is my only option to implement a behaviour to achieve this? It'd be
good if it could interoperate with the container's lifecycle strategy.
Cheers,
Mark
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email