RE: [picocontainer-dev] Preferring Parameter names.....
Jörg Schaible <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
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