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

Which package for FrameworkFactory I am supposed to choose in OSGi?

I recently started using OSGi framework.. I am trying to launch an OSGi container from a maven based project.. I have added this dependency in my pom.xml file in the above maven project- org.apache.felix
AKIWEB
  • 19,008
  • 67
  • 180
  • 294
0
votes
1 answer

NPE thrown after getting BundleContext from FrameworkUtil class

I was following this tutorial to embed OSGi in my maven based application. I have one class file that creates and start the framework as mentioned here and it works fine there as I am able to get BundleContext easily. I have added this dependency in…
arsenal
  • 23,366
  • 85
  • 225
  • 331
0
votes
3 answers

How can i find which release of OSGI is supported by CQ5.5 .?

How can we find which release of OSGi is supported by CQ5.5 version, Is there any log file where i can find out the OSGi release in the CQ5 product?
VAr
  • 2,551
  • 1
  • 27
  • 40
0
votes
1 answer

Apache Felix - Using a bundle service shows "java.lang.ClassCastException"

I am embedding Apache Felix into an Android application. In that application, I am trying to use a service provided by a bundle. The bundle is successfully installed and started, but at the line that uses the service which is: System.out.println(…
Traveling Salesman
  • 2,209
  • 11
  • 46
  • 83
0
votes
0 answers

NoSuchElementException while launching an OSGI framework

I have created Maven based project in which I am tring to launch an OSGi container(Felix) by using the below code but everytime, it is giving me below exception- Exception in thread "main" java.util.NoSuchElementException at…
AKIWEB
  • 19,008
  • 67
  • 180
  • 294
0
votes
1 answer

Does Apache Felix FileInstall works for dynamic configuration of an application?

I am trying to develop an application that can be configured by its users. I need the configuration to be done by installing/updating/stopping/uninstalling bundles. All this should be of course done dynamically during the run-time of the…
Traveling Salesman
  • 2,209
  • 11
  • 46
  • 83
0
votes
2 answers

Error with Maven and GlassFish3 example

I'm new to all this OSGi and Maven stuff, and I'm following a "Bookshelf" tutorial from the book OSGi and Apache Felix 3.0 - Beginner's Guide by Walid Gedeon. I've followed their example from the book, and encountered a little problem with deploying…
ioreskovic
  • 5,531
  • 5
  • 39
  • 70
0
votes
1 answer

Include OSGI-INF to jar package after Maven compilation

I'm creating OSGi package and I want the Apache Felix SCR maven plugin to automatically include generated OSGI-INF folder to .jar package. Now it just generates OSGI-INF to target/scr-plugin-generated. This is my pom.xml
Jakolcz
  • 564
  • 2
  • 12
  • 32
0
votes
0 answers

Why my bundle not able to use background services?

I am working on a project in which I used Adobe CQ5. In the mean while I have to use background service in my class i.e., SlingRepository. For that I used Reference Annotation @Reference protected SlingRepository repository; When I deploy this…
devsda
  • 4,112
  • 9
  • 50
  • 87
0
votes
2 answers

How to activate OSGI bundle?

I am working in Adobe CQ5. I made my project that contains only implementation, and the project title is Web Crawler. And that project is started by one class that simply adds initial seeds. I made OSGI bundle of my project and I deploy that…
devsda
  • 4,112
  • 9
  • 50
  • 87
0
votes
2 answers

Is it possible to use Felix Dependency Manager in an Eclipse Plugin?

I coded a bundle that uses Apache Felix Dependency management. It's Activator extends DependencyActivatorBase. But Plugin my plugin activator extends AbstractUIPlugin. How can I get services from the felix dependency manager from within the…
harschware
  • 13,006
  • 17
  • 55
  • 87
0
votes
2 answers

Eclipse Juno doesn't "see" bundle created with apache felix maven-bundle-plugin

Here's my problem: I'm currently developing simple RAP application in Eclipse Juno. I was in need to use some external libraries so I created a bundle with felix maven-bundle-plugin where I had stored some libraries. After that I copied this bundle…
0
votes
1 answer

How to add services to desktop Apache Felix application

I'm new to Apache Felix. I want to create simple Desktop application based on Apache Felix framework. I found this simple example how to create simple main method which starts the framework as application but I'm not aware how to add services to the…
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
0
votes
1 answer

Apache Felix & Web Start: loading bundles

I've read similar questions but I still don't have all the pieces together. Is it possible (and if yes how) to start an Apache Felix based OSGi desktop application via Java Web Start? My main concern is that you have to specify the bundles somewhere…
Puce
  • 37,247
  • 13
  • 80
  • 152
0
votes
1 answer

Changing HttpService port using ConfigurationAdmin in Apache Felix

I am using Apache Felix HTTP Service Jetty 2.2.0 in my project. Based on the documentation I wrote the following code to change the default service port. ConfigurationAdmin configAdmin = // get ConfigurationAdmin from OSGi service…
nadirsaghar
  • 557
  • 1
  • 4
  • 20