Re: Re: [Hivemind] Inject Registry into service

2006-08-08 Thread Kristian Marinkovic
thank you,

g,
kris


   
 "Martin Strand"   
 <[EMAIL PROTECTED] 
 tcap.se>   An 
"Tapestry users"   
 08.08.2006 11:52   
 Kopie 
   
  Bitte antwortenThema 
an  Re: [Hivemind] Inject Registry 
 "Tapestry users"   into service   
 <[EMAIL PROTECTED] 
pache.org> 
   
   
   
   




We recently discussed this, check this thread:
http://www.mail-archive.com/user@hivemind.apache.org/msg00092.html

There's no api for it, but you can hack your way around the problem.

Martin

On Tue, 08 Aug 2006 11:24:36 +0200, Kristian Marinkovic
<[EMAIL PROTECTED]> wrote:

> hi,
>
> is it possible to inject the Hivemind Registry into a service?
>
> I have several users from different partners (in different
> countries). I want to have a factory (service obtained by
> Hivemind) that, when called with a certain user object,
> retrieves a more specific service from Hivemind depending
> on the user, partner, country, 
>
> So a user from partner AAA  gets service A
> and another user from partner BBB gets service B. The
> only difference between A and B is their configuration
> based on the user object (port, servername,)
>
> the only other way i see to solve this is to implement
> a "real" factory with a Hivemind Registry.

-
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]



Re: [Hivemind] Inject Registry into service

2006-08-08 Thread Martin Strand

We recently discussed this, check this thread:
http://www.mail-archive.com/user@hivemind.apache.org/msg00092.html

There's no api for it, but you can hack your way around the problem.

Martin

On Tue, 08 Aug 2006 11:24:36 +0200, Kristian Marinkovic  
<[EMAIL PROTECTED]> wrote:



hi,

is it possible to inject the Hivemind Registry into a service?

I have several users from different partners (in different
countries). I want to have a factory (service obtained by
Hivemind) that, when called with a certain user object,
retrieves a more specific service from Hivemind depending
on the user, partner, country, 

So a user from partner AAA  gets service A
and another user from partner BBB gets service B. The
only difference between A and B is their configuration
based on the user object (port, servername,)

the only other way i see to solve this is to implement
a "real" factory with a Hivemind Registry.


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