On Wed, 26 Jun 2002 17:08, Nicola Ken Barozzi wrote:
> Peter Donald wrote:
> > On Wed, 26 Jun 2002 16:26, Nicola Ken Barozzi wrote:
> >>Peter Donald wrote:
> >>>It really comes down to what the component writer wants to classify as a
> >>>constraint and what they want to classify as a hint/policy. The
> >>> component writer could choose to make "secure" a constraint or they
> >>> could choose to make it a hint.
> >>
> >>Peter, what you say makes sense, but how the f**k can you make the client
> >>specify a hint||constraint with
> >>
> >>   SSLSocket sslSocket = (SSLSocket)cm.lookup(socketType);
> >>
> >>?!?!?!?!?!?
> >
> > ummm ... metadata?
>
> Me no understand.
> Me need to see code. Example.
> Please help poor programmer.

It is no different from any of the other example I have given so go read the 
archives.

> > BTW there is not a chance that I would suggest that you directly extract
> > a resource directly from a ComponentManager. That would suck
> > unbelievably, would never scale and lead to all sorts of design
> > compromises. You aquire a SocketManager who does the work.
>
> ?
>
> If my component is Composable, I get a ComponentManager, not a
> SocketManager.
> I don't want to make a SocketManager.
> I want to use a pre-built Manager.

Then your program wont scale, will be hell to maintain and suffer from pattern 
hell. Self induced aswell - you don't honestly expect me to feel sorry for 
you do you? :)

> Do I have to pay you to get example in code or are you gonna enlighten
> me for free if I whine enough?

What has been wrong with any of the other code examples?

-- 
Cheers,

Peter Donald
-----------------------------------------------
   "You can't depend on your eyes when your 
   imagination is out of focus." -Mark Twain 
----------------------------------------------- 


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

Reply via email to