You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Benson Margulies <be...@basistech.com> on 2014/11/17 16:27:58 UTC

org.osgi.framework.system.packages.extra

In several places,

http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html

 says:

    This is achieved using the
org.osgi.framework.system.packages.extra configuration
     property previously presented.

It does not seem to me to be previously presented. Is it on some other page?

I'm trying to work out in my head how to set up an embedded situation
that has the classpath issue discussed here. I have a family of
bundles that can be asked to do some work. I have to push work in and
get answers out from code outside. Now, I could throw my hands in the
air and, essentially, put a web service in there, having (e.g.) JSON
flow through. If I want actual Java objects to flow, I'm understanding
the situation to be that I need:

 - a Non-bundle jar file that defines the interface and data that flow
in and out of the container
 - to build the bundles to see themselves as importing this
 - to make it available at real runtime as system packages
 - to learn how to make the pax-exam unit tests for these bundles to
get this code as system package instead of as imported bundles.

Does this make sense?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: org.osgi.framework.system.packages.extra

Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 11/17/14 10:27 , Benson Margulies wrote:
> In several places,
>
> http://felix.apache.org/site/apache-felix-framework-launching-and-embedding.html
>
>   says:
>
>      This is achieved using the
> org.osgi.framework.system.packages.extra configuration
>       property previously presented.
>
> It does not seem to me to be previously presented. Is it on some other page?

Here:

http://felix.apache.org/documentation/subprojects/apache-felix-framework/apache-felix-framework-configuration-properties.html

And in the OSGi specification.

>
> I'm trying to work out in my head how to set up an embedded situation
> that has the classpath issue discussed here. I have a family of
> bundles that can be asked to do some work. I have to push work in and
> get answers out from code outside. Now, I could throw my hands in the
> air and, essentially, put a web service in there, having (e.g.) JSON
> flow through. If I want actual Java objects to flow, I'm understanding
> the situation to be that I need:
>
>   - a Non-bundle jar file that defines the interface and data that flow
> in and out of the container
>   - to build the bundles to see themselves as importing this
>   - to make it available at real runtime as system packages
>   - to learn how to make the pax-exam unit tests for these bundles to
> get this code as system package instead of as imported bundles.
>
> Does this make sense?

Sounds like it.

-> richard

>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org