Issue Details (XML | Word | Printable)

Key: PICO-256
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Paul Hammant
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
PicoContainer

Inheritance over composition for CachingPicoContainer etc (to debate)

Created: 11/Sep/05 11:37 AM   Updated: 24/Oct/05 02:20 AM
Component/s: PicoContainer (Java)
Affects Version/s: 1.2-RC1
Fix Version/s: None

Time Tracking:
Original Estimate: 4 hours
Original Estimate - 4 hours
Remaining Estimate: 4 hours
Remaining Estimate - 4 hours
Time Spent: Not Specified
Remaining Estimate - 4 hours


 Description  « Hide
Takes over from PICO-212

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Paul Hammant added a comment - 23/Oct/05 06:38 AM
After the rework of CachingPC (and others) to be more consistent in their design, I'm not sure the move to Inheritance from Composition is warranted now.

Historically we moved from inheritance designs to composition for many bits of pico in order to hide internal implementation more effectively from users ..


Joerg Schaible added a comment - 24/Oct/05 02:20 AM
The argumentation is no different as before. If you have registered components with ThreadLocalCA, EJBClientCA, PoolingCA, HotSwappingCA, ... the wrapper changes or breaks theri functionality.