On Tue, 25 Mar 2003 12:52, Berin Loritsch wrote:
> I'm kind of curious as to when that would happen.  The purpose
> of implementing a Role interface IMV is to provide that service.

When the Role is used internally to the component. ie the component passes the 
role down to child components or maybe directly accesses peer services and 
passes the role interface around etc.

> For instance, I may have a component that implements two roles.
> The container may choose to expose the same component with two
> separate proxies (i.e. one for each role), but it still implements
> the two roles.
>
> Maybe it's just me, but I wouldn't implement a role interface if
> I didn't intend to supply it as a service.

Also don't forget that sometimes role interfaces can not be marked as role 
interfaces as they are out of your control. ie I have used DataSource, 
PropertyChangeListener and similar interfaces as role interfaces.

-- 
Cheers,

Peter Donald
--------------------------------------------------
"An intellectual is someone who has been educated 
beyond their intelligence."
-------------------------------------------------- 


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

Reply via email to