On Saturday 17 January 2004 13:36, Alex Karasulu wrote:
> The old containers that use it can still require it.  But as far as any
> further development is concerned we can tell all Avalon users that they
> no longer need to have ROLE defined within their service interfaces.

No container uses it, right?

It is other components that uses it for convenient access.

void service( ServiceManager man )
{
    MyService s = (MyService) man.lookup( AnotherService.ROLE );
    // :
    // :
}

The container will depend on the assembly to fill the Role to implementation 
contract.

And since we have no control at all over the components created, we shouldn't 
remove the ROLE declarations our components either.


Niclas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to