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

What is the non-deprecated replacement for @scr.property nameRef?

I am replacing some deprecated Javadoc annotation in code I am unfamiliar with. Most javadoc annotations easily translate to org.apache.felix.scr.annotations, but I'm not sure how to translate this one: /** * @scr.property * …
Shawn
  • 8,374
  • 5
  • 37
  • 60
0
votes
1 answer

Apache Felix not binding my configuration correctly - wrong inputstream version

I had a bundle deployed in an Apache Felix (Sling, in fact) host. The bundle contained some configurable elements, and its version was 2.0. I have updated the bundle to v2.0.1 for some small code changes, and now the bundle will not pick up its…
Nick Golding
  • 53
  • 1
  • 6
0
votes
3 answers

OSGI on Android

i read so much thinks about OSGI and Android but my question is still unanswered. I working at the moment on a small application for Desktop using basicly equinox as OSGI implementation. For the common functionality i create an own OSGI-Bundle and…
moohkooh
  • 917
  • 1
  • 10
  • 25
0
votes
1 answer

Firmware upgrade using OSGi

I need to implement a firmware upgrade mechanism where Apache ACE will be used for provisioning and Apache Felix will be used at the Target side. Does Felix has the capability to upgrade Firmware on devices? As mentioned in the documentation of…
Ayushi
  • 405
  • 1
  • 9
  • 19
-1
votes
1 answer

how to fix resolved state in apache felix?

this is the codes and error seems like... g! lb START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (4.0.3) 1|Active | 1|Apache Felix Bundle Repository (1.6.6) 2|Active | 1|Apache Felix Gogo Command (0.12.0) 3|Active…
Indika_Nuwan95
  • 529
  • 5
  • 8
-1
votes
1 answer

cannot find symbol @Activate Error in OSGI class compilation

I am trying to write an OSGI class which should populate the configuration dialog in Felix console, my Service implementation as shown below. but when i try to run mvn clean install -PautoInstallPackage am getting the below error. any help is…
krish
  • 469
  • 1
  • 15
  • 34
-1
votes
1 answer

OSGi Bundles priority

I have two bundles: bundleName.2.0.0.324999.jar bundleName.2.0.0-SNAPSHOT.jar When I am trying to install them in Apache Felix console, the one which I am trying to install gets the priority. So my question is, how does it decides the priority…
Skeptic Scribbler
  • 527
  • 1
  • 6
  • 18
-1
votes
1 answer

What is the use of factory attribute in @component annotation in apache felix scr

I have seen the use of @component annotation, but i cannot able to find the use of factory attribute in that. I have worked out below url but no explanation…
vijaya kumar
  • 824
  • 2
  • 12
  • 21
-1
votes
2 answers

Add Jars in Apache Felix classpath

I want to add jdbc.jar drivers in Apache Felix. For now the only solution that I found is to embed the jar files. Is it possible to paste all jdbc jars in folder and include this folder in Java classpath?
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
-1
votes
1 answer

Creating a map object similar to user defined objects in OSGI

I am trying to create a map object using osgi @reference ie) registering the below class as a factory with dependency as Hashmap objects. My intention is create an object using the factory which should create a hashmap. When i am trying to register…
Shriram
  • 4,343
  • 8
  • 37
  • 64
-1
votes
1 answer

osgi.wiring.package; (&(osgi.wiring.package=com.google.gson)(version>=2.3.0)(!(version>=3.0.0))))

I am trying to use com.google.maps in my OSGi bundle. I've added the dependency like this: com.google.maps google-maps-services 0.1.7
Anthony
  • 33,838
  • 42
  • 169
  • 278
-1
votes
1 answer

pax-provision without gogo shell

I recently started with osgi. I'm using pax tools to generate and deploy my bundles. I'm trying to create a console application, but everytime I launch pax-provision command gogo shell is fired. I also want to know what is the difference between…
user1828433
  • 252
  • 2
  • 11
-1
votes
1 answer

Interact with bundle in Apache Felix

I made a program that offers a CLI where you can type a number and calculate the square root of the number typed. I built a bundle starting from this simple application and installed on Apache Felix. The problem is that I can't interact with it…
Francesco
  • 99
  • 4
-1
votes
1 answer

Unable to autowire in redhat fuse esb

Hi I am using redhat fuse esb to build some services. The issue I am facing is while deploying it is unable to create object for the beans annotated with @Component, @Service. I am using jboss-fuse-6.0.0.redhat-024 server and…
vashishth
  • 2,751
  • 4
  • 38
  • 68
-1
votes
1 answer

sign bundle that use eclipselink

I have a bundle that uses jpa (eclipseLink). I signed the bundle with jarsigner. If I deploy the bundle on my glassfish (felix), i'll get follow…
bg89
  • 1
  • 4
1 2 3
61
62