On Thu, 14 Feb 2002 20:51, Stephen McConnell wrote:
> 1. ServiceManager
> - this is relatively stable relative to yesterdays
> discussions
> - last nights input raised the need for a parallel
> hasXxxx operation that takes a Map as an additional
> argument - paralleling lookup(String, Map )
> semantics
>
> interface ServiceManager
> {
> Object lookup( String role );
> Object lookup( String role, Map policy );
> boolean hasService( String role );
> boolean hasService( String role, Map policy );
> void release( Object key );
> }
Im not sure release() is needed in a Servicemanager. Release was originally
added to serve the need that is covered by the below interface. And as such
is it really needed ?
> 2. ComponentManager
> - resurfacing of CM has been driven by what appears to be
> separation of concerns between service decommissioning
> as distinct from needs of referenced managed component
> (hence the appearance of Object as token in the interface
> below)
> - this is being discussed as a complementary interface to
> the ServiceManger described above
>
> interface ComponentManager
> {
> Object lookup( Object token, String role );
> Object lookup( Object token, String role, Map policy );
> boolean hasComponent(Object role );
> void release( Object component );
> void releaseAll( Object token );
> }
--
Cheers,
Pete
*--------------------------------*
| Every rule has an exception, |
| except the rule of exceptions. |
*--------------------------------*
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>