On Sat, 22 Feb 2003 02:14, Jason van Zyl wrote:
> Damn! :-)
>
> I added something like lookup(role, id) in Plexus and then from many
> requests we put Selectors in to be compliant and now you want to get rid
> of them! :-) I argued they sucked because I figured that you could look
> up any component using lookup(role,id) and use any logic you wanted to
> select an id. Same idea as a selector but it's not baked into the
> container.
Our general recomendation has always been to do something like
lookup( MyInterface.ROLE + "/" + id );
ie
lookup( FileStore.ROLE + "/Spool" );
lookup( FileStore.ROLE + "/Permanent" );
--
Cheers,
Peter Donald
---------------------------------------------------
"Therefore it can be said that victorious warriors
win first, and then go to battle, while defeated
warriors go to battle first, and then seek to win."
- Sun Tzu, the Art Of War
---------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]