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]

Reply via email to