Thank you for your quick and precise response.

Wassim

On Fri, Aug 5, 2011 at 12:17, Andreas Pieber <[email protected]> wrote:

> Hey Wassim,
>
> The problem is that you missunderstood the meaning of the prototype
> annotation. While blueprint will create a new bean for each injection only
> one service is exported. If you like to have such a factory you have to
> implement it yourself :-(
>
> Hopefully this answers your question.
>
> Kind regards,
> Andreas
>
>
> On Fri, Aug 5, 2011 at 12:09, Wassim Drira <[email protected]> wrote:
>
>> Hello,
>>
>> In my Application I want to use an new instance of the service in each
>> client. So I have done an experience with a server and two clients. The
>> resulted trace is in the attachement. So the result demonstrates that the
>> two clients use the  same instance of the server although I use
>> {scope="prototype"} in the definition of the bean.  Find the used bundles in
>> attachement.
>> Can you help me to understand this issue?
>>
>> Best regards,
>> Wassim
>>
>>
>

Reply via email to