Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.8
-
Fix Version/s: 2.9
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Number of attachments :
Description
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.
Attached StartableLifecycleStrategyTestCase patch to demonstrate requirement.