Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-beta-5
-
Fix Version/s: None
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Number of attachments :
Description
The integration kit package defines the ContainerAssembler concept, which is responsible for assembling a PicoContainer based on a scope. This enhancement proposes to change the scope parameter type from String to Object.
Rationale:
In the servlet pico-extras sub-project, scopes used are "application", "session" and "request". Chaning scopes to ServletContext, HttpSession and HttpRequest, would facilitate (if not make possible?) integration with legacy code tied to the servlet environment.
Example:
Wrapping OSCache in a pico component to use in WW2 actions. OSCache needs ServletContext, which is not available at container assembly. If scope was ServletContext, it would be possible.
Issue Links
- depends upon
-
PICO-75 Improper pico shutdown in servlet environment
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Joe Walnes [ jwalnes1 ] |
Attachment | PICO-81&75.txt [ 11142 ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Assignee | Joe Walnes [ jwalnes1 ] | Aslak Hellesoy [ rinkrank ] |
Do you have a patch?