SO basicly you saying "trust the proxy"?
----- Original Message -----
From: "Harish Krishnaswamy" <[EMAIL PROTECTED]>
To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>
Sent: Thursday, February 26, 2004 5:15 PM
Subject: Re: [HIVEMIND] Pooled Services using Pooled Services
> Have you tried wiring the two services like you do for the other service
> models (in the module descriptors, I mean)?
>
> public class AImpl implements A, PoolManageable
> {
> private B _b;
>
> public AImpl(B b)
> {
> _b = b;
> }
>
> public void activateService()
> {
> // app specific logic
> }
> }
>
> -Harish
>
> Geoff Longman wrote:
>
> >How does one setup a Pooled Service that needs to use another Pooled
> >service?
> >
> >In other words I have a Pooled service A that implements PoolManageable.
> >
> >I want to get a reference to another Pooled service B in A's
> >activateService().
> >
> >AImpl implements PoolManagable {
> >
> > private B _b;
> >
> > public void activateService() {
> >
> > _b = ????
> >
> > }
> >
> >}
> >
> >Ideas?
> >
> >Geoff
> >
> >Geoffrey Longman
> >Intelligent Works Inc.
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]