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
0 answers

ipojo publisher subscriber event admin handler - not getting output

So I've spent days on this and it's still not working for me. I'm posting a simpler example, while trying to follow the tutorial…
R.Malik
  • 33
  • 6
1
vote
0 answers

OSGi WeavingHook Using Test

Does anybody actually have any examples of using the OSGi Weaving Hook Service? I'm doing some test on it .But meet some problem. what I want to do is to modify the bytecode of the class in Bundle. ex: The Bundle A registers the Weaving Hook Service…
jade tide
  • 11
  • 2
1
vote
1 answer

OSGI Apache Felix IPOJO : Annotations or pure MAVEN?

I'm jumping in OSGI with FELIX IPOJO. According to the tutorials there are two approaches possible: use annotations to define services and entry points. FELIX jar's are added more or less manually. use the MAVEN approach and define services and…
user1226230
  • 381
  • 1
  • 3
  • 11
1
vote
1 answer

What is the ADL in iPOJO?

I read in the iPOJO website. "iPOJO also provides an architecture description language to design applications in a flexible and hierarchic manner" What is the ADL in iPOJO ? we consider metadata.xml as an ADL ? Regards,
HNT
  • 147
  • 1
  • 10
1
vote
1 answer

execute bundle who cintains xml parser (SAX)

i want to run bundle who contains code of parser xml(SAX) when i execute the commande start file:bundle's path i have a problem this is the error msg -> start file:C:\felix\bundles\home.analyser-1.0.0.jar org.osgi.framework.BundleException:…
1
vote
1 answer

Using iPOJO in a JavaFX Application

I am doing a Javafx application in Apache Felix along with some experiments using iPOJO. First is I called the Application.launch() method in a different class and then start an another class containing the iPOJO @Requires like this: public class…
megamoth
  • 695
  • 2
  • 12
  • 27
1
vote
2 answers

How to use JPA (Hibernate) with Apache iPOJO

Does anyony have an example how to use JPA (Hibernate) with iPOJO? What is the usual way how OSGi bundles (using iPOJO) interact with databases. For example, is the EntityManagerFactory provided as a service? Or is there a single service that is…
matthjes
  • 671
  • 7
  • 20
1
vote
1 answer

Update IPOJO component implementation

I have another problem relating to dynamic update in iPOJO: 1. Problem: Suppose that I have 2 components A and B. These two components are implemented by A_impl.java and B_impl.java, respectively. They implement two services A_service and…
HNT
  • 147
  • 1
  • 10
1
vote
2 answers

update dynamically targeting provider in iPOJO

I have a component declared as:
HNT
  • 147
  • 1
  • 10
1
vote
1 answer

How to re-publish a service property using field assignment in iPOJO

I am new to iPOJO. As part of learning the iPOJO framework I found the following problem. I am publishing a service 'ServicePropertiesExample' with service property 'when' with initial/default value set to 0. This service property is attached to…
Smith
  • 171
  • 2
  • 8
1
vote
0 answers

iPOJO manipulation for OSGi bundles in Eclipse Bndtools

I want to use iPOJO annotations for component declaration in Eclispe and have the iPOJO manipulation to be done to include the 'iPOJO-Components' header in the bundle manifest during the build. After googling I came to know a little about…
Smith
  • 171
  • 2
  • 8
1
vote
1 answer

How does the isolation work in iPOJO Composite?

iPOJO provides a mechanism to create composites that contain instances of primitive type components. I am interested in understanding the mechanism in which iPOJO provides an isolation for the services provided by the composite sub-instances from…
Traveling Salesman
  • 2,209
  • 11
  • 46
  • 83
1
vote
1 answer

loader constraint violation: loader (instance of x) previously initiated loading for a different type with name y

I am wrapping Felix iPOJO in my framework call it "MyFramework", in order to simplify some of its operations. Using MyFramework, I have the following: 1- "HelloService" Bundle, which is an iPOJO component providing a printing of "hello" message as a…
Traveling Salesman
  • 2,209
  • 11
  • 46
  • 83
1
vote
0 answers

Instantiating iPOJO composite in a bundle shows "java.lang.LinkageError: loader constraint violation: when resolving overridden method"

I am trying to create a composite component using iPOJO API. Initially, I embed felix framework in my java application as the following: public class HostApplication { private HostActivator m_activator = null; private Felix m_felix =…
Traveling Salesman
  • 2,209
  • 11
  • 46
  • 83
1
vote
1 answer

Programmatically create ipojo component instances when user request

Uses Apache Felix 4.2.1 iPOJO 1.11.0. Requires programmatically create component instances when the user request. But i can not use none-static field in static factory method. @Component @Provides(specifications = {IProcessSearch.class}) public…
Aleksandr
  • 1,303
  • 2
  • 11
  • 19