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

Why am I getting "Activator not found" when starting my service?

I wrote a test class for OSGi Felix framework testing. The class is as follows: package tutorial.example2.service; import java.util.Hashtable; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; public class…
AnOldSoul
  • 4,017
  • 12
  • 57
  • 118
0
votes
0 answers

How to enable Felix framework security feature in Karaf?

all. I am trying to enable Felix framework security features on Apache Karaf(version 3.0 +), but I could not find any official (or even unofficial) instructions on doing this. The system.properties file (in Karaf/etc folder), in fact, contains…
sdner
  • 1
  • 2
0
votes
1 answer

How to verify Service Registration in Apache Felix

I am running some tests in Apache Felix and Arquillian, and the Framework fails to load the class org.osgi.service.log.LogService using: BundleContext context =…
Joe Almore
  • 4,036
  • 9
  • 52
  • 77
0
votes
1 answer

OSGi: Java 8 default or static interface methods access produce NoSuchMethodError

In Apache Felix OSGi environment (AEM6 SP2) any call to default or static interface method throws java.lang.NoSuchMethodError. I was able to find the method's signature in the compiled interface .class file but in runtime the method is not…
nomad
  • 847
  • 7
  • 10
0
votes
1 answer

Accessing OSGI bundles from Android app

I'm running OSGI (Apache Felix) embedded in my Android app. Furthermore I'm able to install, register and start a service providing and a service consuming bundle. The service consuming bundle consumes the service provided by the service providing…
Thomas Lieven
  • 371
  • 4
  • 14
0
votes
1 answer

How to get Dependency chain in Apache Karaf (Felix framework)

I am getting uses constraint violation as below while installing a feature in Apache Karaf (karaf framework is felix and version is 4.2.1) could not be resolved. Reason: Package uses conflict: Import-Package: org.apache.http.entity;…
0
votes
1 answer

Felix Dependecy-Manager not creating GoGo-Command

I am trying to create a GoGo-Shell-Command using the Felix-Dependency-Manager (Version 3.2.0) without Annotations. As far as I understand, the gogo-runtime uses the whiteboard-pattern and scans for services with Properties using the keys…
lostiniceland
  • 3,729
  • 6
  • 38
  • 50
0
votes
1 answer

Apache Felix the DOSGI single bundle and Zookeeper

I am trying to implement LAN based service discovery in my project. I have Apache Felix with the DOSGI single bundle distribution deployed. Additionally, I have the Apache Hadoop Zookeeper server running. i have been following this tutorial here…
Billy Sneddon
  • 239
  • 1
  • 3
  • 14
0
votes
1 answer

Append packages to the default exported system packages

I'm using maven-pax-plugin in my OSGI project. and I use pax-provision to run the project. In some bundles I use javafx packages. I want to add javafx packages to exported system packages but I don't find a way to do it. I found this link : specify…
user1828433
  • 252
  • 2
  • 11
0
votes
1 answer

Apache Aries and Servlet as osgi service

I am trying to use apache aries for dependency injection in an osgi bundle. This bundle has a servlet which is registered as a service in the bundle activator. How do we configure the servlet as a bean and/or service in the blueprint config xml?
ash123
  • 197
  • 1
  • 3
  • 10
0
votes
1 answer

@Reference annotation for class

I have two case : @Reference anottation for field - I know how work this case, my servises bind so good But case @Reference anottation for class - I dont understand how it work @Component(immediate =…
Vitaliy
  • 59
  • 1
  • 1
  • 5
0
votes
1 answer

How to exclude META-INF files from bundle?

How can I exclude some META-INF files when building a bundled jar using the maven apache felix plugin? Here's my felix config org.apache.felix maven-bundle-plugin
Jeremy
  • 2,249
  • 2
  • 17
  • 18
0
votes
1 answer

How to obtain Felix Framework's properties in the config.properties file?

I have this line of code that returns me null and it should return 9193 which is the value that the property really has in my config.properties file... System.getProperty("org.osgi.service.http.port") // returns null dunno why My config.properties…
PedroD
  • 5,670
  • 12
  • 46
  • 84
0
votes
1 answer

Android embedded Felix missing requirement osgi.ee

I'm trying to convince an embedded Apache Felix on Android to start an external bundle. So far I have managed to embed the felix.jar into its own APK and run it as an activity. Within this activity I'm able to install outside bundles from jar files.…
Thomas Lieven
  • 371
  • 4
  • 14
0
votes
1 answer

@Properties in OSGi

I was writting one service and observed @Property we can define also inside the service as in my below code : @Component(metatype = true, immediate = true, description = "Demo Service to test") @Service(value = DemoService.class) @Properties({ …
Vivek Dhiman
  • 1,967
  • 6
  • 46
  • 82