Questions tagged [ipojo]

iPOJO is a service component runtime designed for OSGi application development

Apache Felix iPOJO is a service component runtime aiming to simplify OSGi application development. It natively supports ALL the dynamism of OSGi. iPOJO is made to run the modern applications exhibiting modularity and requiring runtime adaption and autonomic behavior.

66 questions
1
vote
2 answers

Start apache-felix 4.2.1 with iPOJO on Android

I try to start apache-felix 4.2.1 with iPOJO 1.11.0 on Android 4.+. config.properties standard with added: org.osgi.framework.system.packages.extra= \ android, \ android.accessibilityservice, \ ... android.support.v4.view.accessibility,…
CkopIIuoH
  • 120
  • 7
1
vote
1 answer

Use Apache Felix iPOJO Event Admin Handlers

I want to use Event Admin Handlers. I'm trying to run the following code: import org.apache.felix.ipojo.handlers.event.Publishes; import org.apache.felix.ipojo.handlers.event.Subscriber; import…
Aleksandr
  • 1,303
  • 2
  • 11
  • 19
1
vote
2 answers

How do I set up iPojo with BndTools inside Eclipse?

I'm trying to use the iPojo annotations for component declaration inside Eclipse. The issue is that when it's generating the XML and modified classes the bnd-ipojo-plugin can't find the annotations in the plugin classpath. I get errors in Eclipse…
max
  • 2,346
  • 4
  • 26
  • 34
1
vote
1 answer

Android SLF4J: NoClassDefFoundError android.util.Log

I am porting an existing OSGi/Felix/iPOJO app from a windows over to Android. The app is using SLF4J. I have slf4j-android deployed as a bundle. However I am getting a java.lang.NoClassDefFoundError: android.util.Log on the line where I am trying…
cbeaudin
  • 667
  • 7
  • 19
1
vote
2 answers

Loading ipojo Maven Bundle in Pax Exam Test

I am trying to create a test using Pax Exam, where some of the bundles that I am loading for the test depend on the package "org.apache.felix.ipojo". If I were to leave out a line loading this bundle in the Pax Exam configuration,…
user1991839
  • 1,993
  • 2
  • 14
  • 11
1
vote
0 answers

Can Apache Aries Managed JPA be used with iPOJO instead of Blueprint?

And if yes, does anyone have an example?
Alexey Romanov
  • 167,066
  • 35
  • 309
  • 487
0
votes
0 answers

How to resolve instance of consumer when felix is embedded

I have application that embeds Felix. Now I'm trying to leverage iPOJO. For this purpose I've created consumer, that have following declaration: @Component @Instantiate public class YetAnotherConsumer { @Requires(specification =…
Dewfy
  • 23,277
  • 13
  • 73
  • 121
0
votes
0 answers

Ipojo Annotation - @Updated method not getting called when i update value in cfg file

I have added an extra parameter in an array field of Properties file , which is not getting updated when using @updated annotation method . Please suggest the step by step procedure to use @updated ipojo annotation.
Gayathri
  • 221
  • 1
  • 3
  • 8
0
votes
3 answers

How to get property in iPOJO

I have a simple component as follows: @Component (name="Test") @Instantiate public class Test { @Property(name="foo", value="my-instance-2") String buffer = "abcbuffer"; public Test() { System.out.println("test running"); …
HNT
  • 147
  • 1
  • 10
0
votes
2 answers

Restrict non-iPOJO services being installed in OSGI

I am currently trying to find a way to "filter" bundles in OSGI, while installing them. I use Karaf as an OSGI implementation and iPOJO for service resolution. Is there any way I can ensure, that only services provided by iPOJO are allowed to be…
Daniel.T
  • 23
  • 3
0
votes
1 answer

In the OSGi/iPOJO world, how to get a list of instances of classes implementing an interface?

In the JavaEE/CDI world, I know how to have the list of instances of classes implementing a given interface : by using Instance combined with reflections library. But in the OSGI/iPOJO world, how to do so ? I know I get one instance by…
Riduidel
  • 22,052
  • 14
  • 85
  • 185
0
votes
1 answer

iPojo instance creation and management

I am currently having lots of trouble with iPojo leaks due to constructed instances that we forget to dispose. I see this as an inevitable drawback of using imperative instantiation using the ipojo Factory technique: basically you say when you need…
Hilikus
  • 9,954
  • 14
  • 65
  • 118
0
votes
1 answer

IPOJO :providing security to an application

How IPOJO provides security to an OSGI application using an xml file and java class !? i want to use the proprities H and L but i dont know how
mina
  • 1,872
  • 1
  • 15
  • 20
0
votes
2 answers

configure DOSGi with UDP

I use DOSGi to connect two OSGi components (iPOJO components) over local network. I configured it with either SOAP or RESTful-JAX RS. However, both use TCP for communication (i saw this in Wireshark). Now, i would like to configure SOAP or…
HNT
  • 147
  • 1
  • 10