Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about osgi-fragment

Read more about osgi-fragment

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - osgi-fragment

Spring OSGi integration: ClassCastException when getting osgi service in springContext

New to OSGi. I'm trying to get a service from osgi in Spring. Git link for the code : https://github.com/shinevs/SpringIntegrationTest Getting ClassCastException. java.lang.ClassCastException: com.bun...
test-img

jAvA

osgi

osgi-bundle

osgi-fragment

Votes: 0

Answers: 1

Latest Answer

It seems to me you are trying to exfiltrate a type (com.myInterface.BundleInterface) from inside the OSGi environment to outside into the Spring environment. But the BundleInterface is loaded by the O...
test-img

wilx

Which way does Fragment-Host operate with OSGi fragments?

I am having some difficulty getting a fragment to work as I intend. It has raised a question to my mind that is not answered by various articles on the web. First, my understanding of a fragment is th...
test-img

majixin

osgi

manifest

osgi-bundle

osgi-fragment

Votes: 0

Answers: 1

Latest Answer

It is (2). The fragment bundle has a Fragment-Host manifest header which declares the bundle symbolic name of its host bundle. The fragment bundle is "attached" to the host bundle and class ...
test-img

BJ Hargrave

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved