At 08:30 17/5/01 -0400, Berin Loritsch wrote:
>General Rule) Interface name == Role name
>
>Exception 1) if (component.accessedBy(ComponentSelector)) roleName =
interfaceName + "Selector";
I didn't know about that one - then again I haven't used selectors in my
own stuff yet ;)
>Exception 2) if (workInterface.numRoles() > 1) {
> roleName.packageName = interfaceName.packageName;
> for (each Role) {
> roleName += specificContract;
> }
> }
I usually append "/flavor" so it would be something like
"com.biz.Store/Spool" and "com.biz.Store/Persistent" or something similar ;)
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- [Proposal] Should we introduce a new idiom for Component... Berin Loritsch
- Re: [Proposal] Should we introduce a new idiom for ... Peter Donald
- RE: [Proposal] Should we introduce a new idiom for ... Leo Simons
- Re: [Proposal] Should we introduce a new idiom for ... Charles Benett
- RE: [Proposal] Should we introduce a new idiom ... Stephen McConnell
- Re: [Proposal] Should we introduce a new idiom for ... Harmeet Bedi
- Re: [Proposal] Should we introduce a new idiom for ... Peter Donald
- Re: [Proposal] Should we introduce a new idiom for ... Harmeet Bedi
- RE: [Proposal] Should we introduce a new idiom for ... Leo Sutic
- Re: [Proposal] Should we introduce a new idiom for ... Berin Loritsch
- Re: [Proposal] Should we introduce a new idiom ... Peter Donald
- Re: [Proposal] Should we introduce a new idiom for ... Berin Loritsch
- RE: [Proposal] Should we introduce a new idiom for ... Leo Sutic
- Re: [Proposal] Should we introduce a new idiom for ... Berin Loritsch
- Re: [Proposal] Should we introduce a new idiom for ... Peter Donald
- Re: [Proposal] Should we introduce a new idiom ... Berin Loritsch
- RE: [Proposal] Should we introduce a new idiom for ... Leo Simons
- RE: [Proposal] Should we introduce a new idiom for ... Ricardo Rocha
