mhm, I'm still not completely sure where's exactly your problem.

To recapitulate:

you have a ServiceInterface and you want to make this public via osgi to a) use
it in the "final" osgi runtime environment and in pax-exam?! Right? Are you
using "plain" osgi or spring-dm/blueprint?

kind regards,
andreas

On Tue, Jan 25, 2011 at 07:18:35PM +0100, Luca Stancapiano wrote:
>    Thanks Andreas.....
> 
>    my goal is testing an existent service inside a bundle. This service
>    incapsulates many other components so I don't want configure manually
>    all the dependencies. May you give me some configuration example to
>    deploy this service?
>    On Tue, Jan 25, 2011 at 7:03 PM, Andreas Pieber <[1][email protected]>
>    wrote:
> 
>      I'm not completely sure y pax-exam should do this. You have to
>      options:
>      1) you want to deploy a service in a real/runtime environment:
>      then you have to export it anyhow, otherwise it wont run in your
>      "real"
>      environment afterwards
>      2) you dont want to deploy a service in a real/runtime environmetn:
>      then the service should not be tested and isn't a service in fact
>      (not really at
>      least :))
>      kind regards,
>      andreas
> 
>    On Tue, Jan 25, 2011 at 06:55:26PM +0100, Luca Stancapiano wrote:
>    >    Hi all....
>    >
>    >    Reading the documentation seems that I need to configure manually
>    the
>    >    services of a bundle that I would test. Can I simply put the
>    bundle
>    >    information in PAX so it execute the whole deploy inside felix
>    >    (included services and components)?
> 
>      > _______________________________________________
>      > general mailing list
>      > [2][email protected]
>      > [3]http://lists.ops4j.org/mailman/listinfo/general
>      _______________________________________________
>      general mailing list
>      [4][email protected]
>      [5]http://lists.ops4j.org/mailman/listinfo/general
> 
> References
> 
>    1. mailto:[email protected]
>    2. mailto:[email protected]
>    3. http://lists.ops4j.org/mailman/listinfo/general
>    4. mailto:[email protected]
>    5. http://lists.ops4j.org/mailman/listinfo/general

> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general

Attachment: pgp3hF9e3r4R1.pgp
Description: PGP signature

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to