Re: [picocontainer-dev] Preferring Parameter names.....
Paul Hammant <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
Yes, very good problems :-) More thought needed.
- Paul
On Sep 19, 2007, at 1:50 AM, Jörg Schaible wrote:
> Paul Hammant wrote on Tuesday, September 18, 2007 5:23 PM:
>
>> .. OK I started this 10 days ago before Konstantin's most recent
>> changes, but then I went to new york and lost a week.
>>
>> What if parameter names were not just indicated with
>> Characteristics.USE_NAMES ?
>>
>> What if there was a BehaviorFactory that suggested that the use of
>> parameter names was a for all components that the container
>> contains..
>
> You still have the problem that parameter names have no scope for
> the component:
>
> class JDBCService {
> JDBCService(URL endpoint, String username, String password);
> }
>
> class SOAPService {
> SOAPService(URL endpoint, String username, String password);
> }
>
> ;-)
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email