Thanks a lot Knut,

I have implemented it as an ObjectProvider (a Translator would not have been
usable in my case because it requires a configuration schema in order to be
used, in fact I just wanted to inject the ServicePoint into my service with
hivemind.BuilderFactory).

That works very well!

I was just a bit disappointed not to find that kind of ObjectProvider as
part of the "core" providers of HiveMind;-) 
Anyway, since this only took a few minutes from the problem to the solution,
everything's fine.

I think I will release it as part of HiveMind Utilities hiveutils module.

Thanks again

Cheers

Jean-Francois

-----Original Message-----
From: Knut Wannheden [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 02, 2006 9:07 PM
To: [email protected]
Subject: Re: How to inject ServicePoint?

Hi Jean-Francois,

You should be able to implement your own translator or object provider
(whichever suits you best) and use that to inject a service point into
your service. It has access to the module from which it can retrieve
the service point.

HTH,

--knut

On 10/2/06, Jean-Francois Poilpret <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am stuck with a small (I believe) problem for which I could not find
> anything in the HiveMind documentation, nor in the lists.
>
> I need to create a special Service that would be injected with hivemind
> ServicePoint of other services (I don't need the real service, but I
> _really_ need its ServicePoint).
> I could not figure out how to define this special service in
hivemodule.xml.
>
> So is that possible?
> If yes, how can I configure my service?
> If no, what could I do to get access to the ServicePoint of the other
> services?
>
> Cheers
>
> Jean-Francois
>
>
>
>
>
>
>
>
___________________________________________________________________________
> Découvrez un nouveau moyen de poser toutes vos questions quelque soit le
sujet !
> Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et
vos expériences.
> http://fr.answers.yahoo.com
>
>
>






___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences.
http://fr.answers.yahoo.com


Reply via email to