osgi
Servicemix - OSGi classloading issues with embedded dependencies
I\'m developing project with multiple OSGi bundles, deployed on ServiceMix (FuseESB compilation, v. 4.3.1). The issue is, one of this bundles is connecting to EJB on WebLogic, therefore it embeddes we[详细]
2023-04-07 16:03 分类:问答Importing resources from OSGi bundle
With the import mechanism in OSGi, it is straightforward to import packages from another bundle. However, I have been unsuccessful in importing resources that exist in the \"root\" of the bundle.[详细]
2023-04-07 15:06 分类:问答JAR Hell Hacks for Non-OSGi Developers
Edit: After reviewing the play, the example I used below is a tad misleading. I am looking for the case where I have two 3rd party jars (not homegrown jars where I have access to the source code) that[详细]
2023-04-07 00:41 分类:问答Eclipse OSGi run configuration
Is there any way to add OSGi Run configuration to Eclipse Indigo if there\'s no such section in开发者_StackOverflow社区 a templates panel on the left of\"Run Configurations\" dialog box?Download the E[详细]
2023-04-07 00:33 分类:问答How does the OSGi framework set the Bundle ID?
I am trying to run OSGi framework (Equinox) in a main method. Each time I start the framework, when I print BundleContext.getBundles().length, it says the framework has only 1 Bundle installed on (tha[详细]
2023-04-06 16:07 分类:问答Adding aspects on services across OSGi bundles
I have an OSGi bundle (that开发者_如何学运维 is not owned by me - so I cannot change it!) that exposes (exports) a service EchoService, and I want to attach an aspect tomethods of this service (so as[详细]
2023-04-06 09:31 分类:问答How to send commands and receive responses to OSGi console via a Java Socket?
I want to run OSGi framework on another computer (in a main method). So I wanted to know is there any way to connect to the OSGi console from the other computer and manage bundles?[详细]
2023-04-06 09:23 分类:问答How do you create/initialize Javassist ClassPool inside a OSGi Bundle?
I created a Bundle in Eclipse, and used the \"Launch the Framework\" link for the \"Overview\" tab. I have created an interface (TestService) in my bundle, and code that should generate a proxy for it[详细]
2023-04-06 01:36 分类:问答CXF OSGi bundle - register a filter against CXFServlet?
I\'ve got the CXF OSGi bundle deployed on a karaf container with several endpoints ea开发者_高级运维ch in their own bundle.The endpoints are a mix of JAX-RS and JAX-WS flavors.I\'d like to enable some[详细]
2023-04-05 05:10 分类:问答How should I declare a has-a dependency via OSGi declarative services?
My OSGi application uses a whiteboard pattern to register listeners for specific state changes. I use org.apache.felix.scr.annotations to declare my services and components instead of hand-coding the[详细]
2023-04-05 05:07 分类:问答