fragment « osgi « Java Enterprise Q&A

Home
Java Enterprise Q&A
1.activemq
2.Ant
3.aspectj
4.axis
5.cxf
6.deploy
7.Development
8.ear
9.eclipse
10.ehcache
11.ejb
12.flex
13.grails
14.jax
15.jaxb
16.JBoss
17.jbpm
18.jdo
19.jersey
20.jetty
21.jms
22.jmx
23.jndi
24.junit
25.ldap
26.Library
27.log4j
28.netbeans
29.osgi
30.playframework
31.portlet
32.quartz
33.rabbitmq
34.restful
35.security
36.Session
37.soap
38.tapestry
39.Web Service
40.weblogic
41.websphere
42.wicket
43.workflow
44.wsdl
Java Enterprise Q&A » osgi » fragment 

1. OSGi fragments: Patching bugs in Eclipse plug-ins    stackoverflow.com

After hearing about OSGi fragments, I was wondering: Can I use a fragment to inject a patch, that is, replace an existing class in an existing, signed bundle? Is there documentation how to ...

2. How to create an osgi fragment with Bnd?    stackoverflow.com

Today I had a deeper look inside the bndTools for Eclipse. I had a good start, but I ask myself if it is possible to create osgi fragments with ...

3. How can I access an instance method/property of a Host from Test Bundle Fragment?    stackoverflow.com

I have a bundle test.Bundle1 that have some properties fulfilled by Blueprint injections. I've created one test fragment whose Host is test.Bundle1 and I would like to obtain myClassA instantiated singleton ...

4. Can OSGi fragments have other fragments as hosts?    stackoverflow.com

Is this legal? MANIFEST.MF for org.fragment1 (org.host is a normal bundle, not a fragment):

Bundle-SymbolicName: org.fragment1
Fragment-Host: org.host
MANIFEST.MF for org.fragment2:
Bundle-SymbolicName: org.fragment2
Fragment-Host: org.fragment1
Or should org.fragment2 instead have
Fragment-Host: org.host
?

5. Constraints from the fragment conflict with the host    stackoverflow.com

I am trying to extend the imports of bundle A from bundle B using Fragment-Host. In bundle B I have this line: Fragment-Host: and in bundle B's Import-Package I have added the ...

6. Installing a fragment requires a refresh on the host, how can this be avoided?    stackoverflow.com

I have two bundles: bundle A and bundle B which is configured as a fragment of bundle A using: Fragment-Host: Whenever I install bundle B it fails to start (INSTALLED) and therefore ...

7. Fragment dependency on other fragments    stackoverflow.com

I have a plugin which is the host of fragment A & B. I export a package using Export-Package header from fragment A. Hopefully I can import that package in fragment ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.