Berin,
> I want to eventually add in a Query object ability--so we have two
> options.
>
> 1) The ServiceManager stays as is with the change that the key lookup
> is an Object instead of String (String is common case, but allows
> for Query object enhancement later).
-1
> 2) The ServiceManager has two methods: one String, and one Query object
+1
> interface ServiceManager
> {
> Object lookup( String role );
> Object lookup( String role, Parameters attributes );
> void release( Object component );
> }
This is good too.
> If we introduce this change, we won't be able to add the extra
> functionality
> later for the Query object.
I disagree. If you mark Query as subject to change, in fact the whole
package as subject to change, I would be quite happy to migrate EOB as
often as was needed.
I have no need of Query, so we could merely clone CompMgr into
ServiceMgr as Stephen says (so we can use it immediately) then negotiate
changes to it.
- Paul
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>