Hi,
I think the problem here is, that the export function in the bndrun
files does not create an OSGi bundle, but a jar file, which contains the
whole application. Just open that jar with an archive tool and have a
look at the contents.
The jar, which is created, already contains (or at least it
You could do this by using a component factory. You would need another component to get the ComponentFactory service and call ComponentFactory.newInstance with the desired endpoint.framework.uuid service property.
But this is probably overkill for a single service. For a single service, you can
Hi,
OSGi newbie here. This question is lengthy but I hope it helps people in
future.
I want to make a software which provides the feature to install/uninstall
plugins. Think of something like Eclipse IDE plugins. The only difference
is mine is web-app.
I thought of implementing plugins as
DS does not provide any way to do so.
Why not using the framework API and register that listener "by hand"?
This could be a small facade around your component.
Another more complicated solution would be you require a configuration
for your component and in the activator you create an OSGi
I would like to create a component that is an remote service admin
EndpointEventListener.
So it needs a property endpoint.listener.scope with a filter string.
The problem now is that I want this scope to only include endpoints from
the local framework. So I need something like: