Hi Jens,
You can add non-OSGi dependencies as embedded dependencies to your project
using maven-bundle-plugin [1] via Embed-Dependency. In this case the embedded
dependency will be added to your bundles jar and to Bundle-ClassPath in it’s
manifest.
This should also avoid other class loader issu
Hello,
I want to create a self-contained OSGi bundle which uses some Spring/JPA
features like the auto generated repositories (PagingAndSortingRepository). I
configured my pom.xml as a bundle, and it builds correctly. The problem is
though, non-Maven dependencies like the Spring stuff cannot ea
Hi,
The code you gave works and does not introduce drawbacks. Currently, iPOJO does
not provide an easier API to retrieve the contained objects. This is because
iPOJO component type may not contain ‘objects’ such as composites (they
contains other iPOJO instances).
Depending ou your use case
Hi everyone,
I faced a use case where I don't really know what is the best way to solve.
So here is oversimplified version of the problem:
- I'm using a 3rd party framework (available as OSGI bundle) that does
something with objects (what exactly is irrelevant)
- The framework is configured with
From the spec: "A FrameworkListener object is registered with the Framework
using the BundleContext.addFrameworkListener method.”
So it is not whiteboard-style (it pre-dates the whiteboard pattern afaik).
In DM I would do:
in the init:
dm.add(createComponent().setImplementation(Comp.class));
a
Hi guys,
I'm sorry it took me so long but I've been really busy lately. I just
wanted to let you know I created a JIRA issue (
https://issues.apache.org/jira/browse/FELIX-4668) and attached a sample
projects to it.
I'm still not sure if this is a bug or I'm missing something and trying to
use it i
Hello all
I'm declaring a component using DM which gets created when all
dependencies are met. This component should also get notified of
framework events and thus implements FrameworkListener.
Does the OSGi framework also use a whiteboard pattern for delivering
these events, meaning I only
7 matches
Mail list logo