> From: Peter Donald [mailto:[EMAIL PROTECTED]] > > At 03:26 PM 6/7/2002 -0400, you wrote: > >I would like to create a scratchpad area/version 5.0 > proposal area in > >Framework. Would we be ammendable to start creating the 5.0 area? > > > >I would like to include the CM we had the latest really long > >conversation about. I think 99% of us are on the same page. > > > >interface ComponentManager > >{ > > /** throws ComponentException */ > > Object lookup( String role ); > > > > /** throws ComponentException */ > > Object lookup( String role, Object hint ); > > > > boolean exists( String role ); > > boolean exists( String role, Object hint ); > >} > > > >That way we can have a look at and play with the interfaces until we > >like them. > > > Dont like the idea of hints and especially hate the idea that > hints be objects
Pete, what's wrong with this? I think it is much more elegant than even your ConnectionManager.ROLE + "/SSL" I would like to see a simple lookup that does this: lookup(ConnectionManager.ROLE, "SSL"); It is more clear to the user that what we are trying to get. It follows a standard that is used to obtain i18n, JSSE, JCE, etc. objects. You have the default no-arg lookup, and then one to fine tune it. What do you see as being better? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
