Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.0-RC-1
-
Fix Version/s: None
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Number of attachments :
Description
Just an oversight?
DefaultPicoContainer defines ComponentAdapter registerComponentImplementation(Object componentKey, Class componentImplementation, List parameters), but MutablePicoContainer does not contain it. Only the variant with "Parameter[]" as third argument is part of the interface.
Activity

Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Won't Fix [ 2 ] |
I added the method taking a list in order to be able to call the method from Groovy. (Groovy "arrays" are in fact java.util.Lists).
I think we should keep it only on the implementation for the moment. When/if generics take off, we should maybe turn this into a List<Parameter> ?