Questions tagged [apache-felix]

Apache Felix is a community effort to implement the OSGi R4 Service Platform and other interesting OSGi-related technologies under the Apache license.

Apache Felix is a community effort to implement the OSGi R4 Service Platform and other interesting OSGi-related technologies under the Apache license. The OSGi specifications originally targeted embedded devices and home services gateways, but they are ideally suited for any project interested in the principles of modularity, component-orientation, and/or service-orientation. OSGi technology combines aspects of these aforementioned principles to define a dynamic service deployment framework that is amenable to remote management.

Subprojects:

The Felix project is organized into subprojects, where each subproject targets a specific OSGi specification or OSGi-related technology; the following list summarizes each released subproject:

  • Config Admin - An implementation of the OSGi Configuration Admin service specification for managing bundle configuration properties.
  • Dependency Manager - An API-based component model to simplify OSGi-based development.
  • Event Admin - An implementation of the OSGi Event Admin service specification for event-based communication.
  • File Install - A simple, directory-based management agent for managing bundle deployment.
  • Framework - An implementation of the OSGi R4.2 core framework.
  • Gogo - An advanced shell for interacting with OSGi frameworks.
  • HTTP Service - An implementation of the OSGi HTTP Service specification.
  • iPOJO - A sophisticated service-oriented component model to simplify OSGi-based development.
  • Log - A simple, memory-based implementation of the OSGi Log service specification.
  • Maven Bundle Plugin - A Maven plugin to simplify building bundles.
  • Maven SCR Plugin - A Maven plugin to simplify using Declarative Services.
  • Metatype - An implementation of the OSGi Metatype service to describe types needed by bundles.
  • OSGi Bundle Repository - A bundle repository service to simplify discovering and deploying bundles and their dependencies.
  • Preferences - An implementation of the OSGi Preferences service specification for storing settings and preferences.
  • Remote Shell - A remote, text-based interface to the Apache Felix Shell.
  • Service Component Runtime - An implementation of the OSGi Declarative Services specification providing a service-oriented component model to simplify OSGi-based development.
  • Shell - A very simple shell service implemented as a bundle for interacting with an OSGi framework instance.
  • Shell TUI - A simple, text-based interface to the Apache Felix Shell.
  • UPnP - An implementation of the OSGi UPnP Device service specification for UPnP device integration.
  • Web Console - A simple tool to inspect and manage OSGi framework instances using your favorite Web Browser.

Official Website: http://felix.apache.org/

Useful Links:

921 questions
0
votes
1 answer

Apache Felix Host expose dependencies OSGi

I am using Apache Felix to create an embedded OSGi host application. I am using the following code to expose the packages I want to expose: List extra = new…
tarka
  • 5,289
  • 10
  • 51
  • 75
0
votes
0 answers

Running gogo shell client api commands via shell script

I am trying to run create targets via gogo shell client api. I have written a script which starts the client.jar from apache ace distribution. Then I am trying to run the gogo shell client api commands in the same script. The script code…
0
votes
0 answers

where does '.' package come from?

I have been happily building an application on felix/osgi using Bndtools in my build process. I have wrapped all my 3rd party non-bundle jars as bundles, built all my in-house jars as bundles and have been working on 4 bundles w/ activators and…
Adam Morgan
  • 425
  • 1
  • 3
  • 17
0
votes
2 answers

How can I run OSGi blueprint in Felix in Scala?

I am able to get OSGi blueprint to work in Karaf, but I don't understand how to do it in Apache Felix, or my question can be also defined as how can I use OSGi blueprint in plain OSGi? I made an example here…
Phil
  • 46,436
  • 33
  • 110
  • 175
0
votes
1 answer

(mis)understanding osgi bundle dependencies

I'm pretty new to osgi and bndtools, but in the past couple days have managed to get jar->bundle creation working using bnd ant task, plus wrapping of our 3rd party jars as bundles (for those not already defining an 'Export-Package' in the manifest…
Adam Morgan
  • 425
  • 1
  • 3
  • 17
0
votes
1 answer

Felix ConfigAdmin (File) | Does my file needs to include service.pid?

I'm using Felix ConfigurationAdmin 1.8.6 (which is included in OSGI enRoute) and i'm not able to get it working with files in a folder. I downloaded the sources to see what's going on, but i still can't figure out... First, I added the run property…
JSlain
  • 566
  • 3
  • 20
0
votes
1 answer

How can I read factory configurations for my OSGI instance

I have a OSGi Transformer component which is instantiated by sling. In my OSGi component I have the following annotations : @Component(configurationFactory = true, metatype = true, policy = ConfigurationPolicy.REQUIRE, label = "CDN Link…
Prashant Onkar
  • 414
  • 3
  • 15
0
votes
1 answer

OSGi bundle compile error

When I build my bundle, maven throws the exception: [ERROR] Bundle com.onboard:com.onboard.service.security:bundle:3.0.0-SNAPSHOT : Exporting packages that are not on the Bundle-Classpath[Jar:dot]: [about_files, XXX] [ERROR] Error(s) found in bundle…
xierui
  • 1,047
  • 1
  • 9
  • 22
0
votes
1 answer

Defining and exposing host API with embedded OSGi

I am currently working to add OSGi modularity to a project for the purpose of plugins. The basic idea is that users can develop their own plugins that can be added at runtime to the main application to extend or modify its functions and/or…
tarka
  • 5,289
  • 10
  • 51
  • 75
0
votes
2 answers

Apache Felix File Install jar from deploy folder

I am trying to use Apache Felix File Install with an embedded version of Felix. The basic idea is simple, I have a jar application file that can be launched using standard java -jar app.jar and the application will startup Apache Felix framework and…
tarka
  • 5,289
  • 10
  • 51
  • 75
0
votes
1 answer

Loading framework factory in OSGi

I am trying to get Frame work factory to load OSGi bundles in my maven project. I have tried the following : import org.osgi.framework.launch.FrameworkFactory; public class Activator implements BundleActivator { public void start(BundleContext…
Prashant Onkar
  • 414
  • 3
  • 15
0
votes
1 answer

Apache Felix OSGI installing dependencies

Following on from OSGI bundle dependencies I have reverted maven-bundle-plugin back to using the defaults. Here is my current pom:
timothyclifford
  • 6,799
  • 7
  • 57
  • 85
0
votes
1 answer

OSGI DS: properties -> ParseException

I use apache felix and I have the following annotation for my DS @Component(immediate = false,properties = {"name:String=stub"}) Maven generates the following xml ....
Pavel_K
  • 10,748
  • 13
  • 73
  • 186
0
votes
1 answer

OSGi DS: xml file is not generated

I have the following service class: @Component(immediate = true) @Service public class Myclass implements MyInterface { @Override public String doIt() { return "This is default bean"; } } In pom file I have:
Pavel_K
  • 10,748
  • 13
  • 73
  • 186
0
votes
1 answer

OSGi ServiceFactory returns an uncasteable Object

I've been trying to make this work for the whole day now and it's frustating cause i dont see anything wrong with my code. Here are my classes: DisplayerServiceFactory.java package com.lincesoft.imperator.displayer.provider; import…