Log in to follow, share, and participate in this community.
Thread OSGi classloader system
OSGi classloader systemFolks, I'd like to better understand how the classloader system works. Could you please talk me through the code below and explain what is being done here. Eventually, I'd like to be able to setup a Framework Classl...
Fundamental class space issuePlease consider this A imports X B imports X Can X load a class from A or B? Can A load a class from B and vice versa? https://jira.jboss.org/jira/browse/JBOSGI-142 This works with Felix, but fails with the MC Fra...
@Override and JDK5 usageI'm getting compile errors since we're using @Override on interface impl methods. Afaik this is JDK6 feature, whereas we still wanna be JDK5 compatible. And Pete tells me this is auto feature of Eclipse if you're run...
Invalid delivery of framework eventshttps://jira.jboss.org/jira/browse/JBOSGI-140 Although a listener is associated with a bundle context (i.e. must get removed when the bundle gets uninstalled) the events must get delivered to the listeners that are a...
Thread Added proper handling of framework properties
Added proper handling of framework propertiesFramework properties can now be configured on the OSGiBundleManager
<bean name="OSGiBundleManager" class="org.jboss.osgi.plugins.facade.bundle.OSGiBundleManager">
<constructor><parameter><inj...
Proper system BundleContext implementationhttps://jira.jboss.org/jira/browse/JBOSGI-138 Currently we have OSGiSystemBundle extends OSGiBundleState which initializes the OSGiBundleState with a null DeploymentUnit All Bundle and BundleContext methods that ...
HOWTO chage the behaviour of the CL policyCurrently bundle class loading uses VFSClassLoaderPolicy, which seems to load the class from the private packages first rather than considering imports. This is related to https://jira.jboss.org/jira/browse/JBOSGI-1...
Thread Fixed version parsing and added initial split package suppor
Fixed version parsing and added initial split package suppor
Version version = null;
if (versionString != null)
{
// Handle version strings with quotes
if (versionString.startsWith("\"") && versionString.endsWith("\""))
versionString = versionString.substr...
snapshotsCan you please make sure you deploy any snapshots that are being used. I managed to build my own 2.0.9-SNAPSHOT of the MC, but there are others that appear to missing which is I think why tests are failing for me?
...
tests log4j.xmlI've removed this again. Having a default log4j.xml for tests is stupid because of the following reasons. 1) log4j.test.dir is not always set - e.g. impossible to run the tests under eclipse 2) you don't get the log...
Package cannot have multiple exportersStill working on the SimpleLogServiceTestCase When I add the PackageRequirement regardless of whether it is also part of the exports I get
org.apache.felix.log:1.1.0.SNAPSHOT cannot be added because it is exports ...
FrameworkUtil and Filter implementationsThere is org.jboss.osgi.plugins.framework.FrameworkUtil org.jboss.osgi.plugins.filter.FilterImpl which seem to duplicate http://www.osgi.org/javadoc/r4v41/org/osgi/framework/FrameworkUtil.html Could you please giv...
Thread Bundle.start() does not transition to ACTIVE
Bundle.start() does not transition to ACTIVEIt seems that bundle.start() does not transition the bundle's state.
[tdiesler@tdvaio osgi-int]$ mvn -Dtest=SimpleBundleTestCase install
Running org.jboss.test.osgi.simple.SimpleBundleTestCase
Tests run: 1, Failur...
refactoringI've said this many times before: PLEASE BUT A BIG STOP SIGN OVER YOUR REFACTORING BUTTON It makes it very difficult for others to merge changes, especially when a project is being actively developed. I just wasted ...
OSGI/MC GeneralThe main other todo is whether we provide a standalone OSGi release. You can see how this would work by looking at the bootstrap support within the testsuite, but there is probably a case for JBoss bootstrap so that ...
OSGi/MC Security todosThe main thing that's not implementated is the AdminPermission and the Bundle.hasPermission() This requires some link with not yet written PermissionAdmin service. Besides that, the main work is testing. I've done s...
OSGi/MC Service todosServices are also largely complete. What's missing is that we want to expose MC pojos and JMX MBeans etc. as OSGi services. The proper way to do this would be to push the OSGi Filter into kernel project and use the M...
OSGi/MC Filter todosThe parsing code for this was largely take from Felix. The runtime is a mainly a rewrite since it looked overly complex and unnecessary. I've kept the Apache license headers on the code I "copied" for that reason. OB...