• The service-mix dilemma

    The Apache Felix Resolver integration requires that all wiring candidates are registered with the resolver. This is true for ordinary bundles, fragments, the system bundle and our dynamically generated service mix bun...
    Profile Photo
    last modified by thomas.diesler
  • Resolver integration with MC proposal

    A assume we have agreed on [JBCL-167] which allows to resolve a Requirement in the Domain, I propose the following   We add the notion of a Resolver to MC Capability Requirement Module Wire Resolver   ...
    Profile Photo
    created by thomas.diesler
  • Fragment delegates not attached to policy

    In our fragment support we currently attach the fragment's VFS root to OSGiClassLoaderPolicy . The related discussion is Initial support for Fragments   Although this works for most of the use cases we cover, it...
    Profile Photo
    created by thomas.diesler
  • Incompatible change in jboss-deployers

    jboss-deployers-spi-2.2.0.Alpha5 comes with  org.jboss.deployers.spi.classloading.DeploymentMetaData which has moved from org.jboss.deployers.plugins.classloading.DeploymentMetaData in 2.2.0.Alpha4   A cha...
    Profile Photo
    last modified by thomas.diesler
  • DynamicImport-Package takes presendence over embedded classes

    Working on https://jira.jboss.org/browse/JBOSGI-323 I see the following when BundleA, which has a DynamicImport-Package: *, tries to load B.class from BundleB     2010-06-15 13:42:29,835 TRACE [org.jboss.cla...
    Profile Photo
    last modified by thomas.diesler
  • Invalid changes in jboss-cl

    Recent changes in jboss-cl break a large number of test cases in jbosgi-framework, namely   Failed tests:   testServiceReferenceBean(org.jboss.test.osgi.core.jbosgi326.OSGi326TestCase)   testServiceRef...
    Profile Photo
    last modified by thomas.diesler
  • Apache Felix Resolver integration

    The JBossOSGi Framework now sucessfully integrates the Felix Resolver.   The code for the resolver integration is here   http://github.com/jbosgi/jbosgi-framework/tree/master/resolver/src/main/java/org/jbo...
    Profile Photo
    created by thomas.diesler
  • How to progress on jbosgi-http

    I cleaned up the jbosgi308 code base and commited here http://github.com/jbosgi/jbosgi-http/commits/jbosgi308   * Remove dependency on Ant. Please explain in a seperate forum thread why this should be needed. * ...
    Profile Photo
    created by thomas.diesler
  • ServiceMix osgi/exposed-type

    In ServiceMixTestCase.testExposedClasses()   I see   <osgi xmlns="urn:jboss:pojo2osgi:1.0" name="A">   <exposed-type>org.jboss.test.osgi.service.support.a.AMBean</exposed-type> </o...
    Profile Photo
    last modified by thomas.diesler
  • Where does OSGiBundleManager.stopBundle() emit BundleEvent.STOPPED?

    In relation to the Start Level Service TCK I am trying to get the following testcase passing: The test starts a bundle. In the BundleActivator.start() of that bundle it calls a method on the Start Level Service, whic...
    Profile Photo
    last modified by bosschaert
  • OSGi Start Level Service

    I started looking at the OSGi Start Level Service and have implemented something that is pretty close to passing the TCK (there's one failure thats related to lifecycle synchronisation). Before finishing it off, I'm l...
    Profile Photo
    last modified by bosschaert
  • OSGi/MC Bundle todos

    The bundle stuff is perhaps the most complete and best integrated at the moment. The TODOs basically revolve around the lifecycle stuff. UPDATE/INSTALL The install(URL) works and I don't think it would be hard to d...
    Profile Photo
    last modified by adrian.brock
  • Support for dynamic imports with wildcards

    Relates to   https://jira.jboss.org/jira/browse/JBOSGI-323 https://jira.jboss.org/jira/browse/JBCL-131   I added a ClassNotFoundHandler to the OSGiClassLoaderPolicy which kicks in if the policy has a Pack...
    Profile Photo
    last modified by thomas.diesler
  • Problem running mvn install -Pall in jbosgi-framework

    I am trying to create the 'all' jar for TCK runs, but the build fails. It was passing recently... Any ideas?   jbosgi-framework$ mvn clean install -Pall ... snip ... INFO] -------------------------------------...
    Profile Photo
    last modified by bosschaert
  • DynamicImport-Package takes presendence over embedded classes

    The symptom is that we see WARN messages like this   09:04:13,595 WARN  [BaseDelegateLoader] Not getting package org.osgi.service.log from policy that has no classLoader: LazyFilteredDelegateLoader@a75737{fa...
    Profile Photo
    last modified by thomas.diesler
  • MC service does not maintain properties

    Currently there are multiple failures when the testsuite is run against the AS.   https://jira.jboss.org/jira/browse/JBOSGI-326   In this particular case the client API uses   context.getServiceRefere...
    Profile Photo
    last modified by thomas.diesler
  • Unit tests in the same package?

    Just wondering about the general convention for unit tests...   Typically  in other projects I have seen pure unit tests in the same package as  the class that they are testing, so e.g.:   src/mai...
    Profile Photo
    last modified by bosschaert
  • Use of mocking framework in unit tests?

    Hi all,   Was wondering whether the use of mock frameworks such as EasyMock or Mockito was ever considered for JBoss OSGi unit tests? I've used both quite a bit in the past and they can be really handy setting u...
    Profile Photo
    last modified by bosschaert
  • ServiceMix resurected

    The ServiceMix tests have been resurected   http://github.com/jbosgi/jbosgi-framework/commit/9c8357802a15776377562921caaa19f66e0bfd1c   This conceptually merges Ales' service-mix branch to master and makes...
    Profile Photo
    last modified by thomas.diesler
  • Splitting up framework bootstrap config

    The bootstrap config is copied to very many different places with slight variations in setup. I'd like to split up that config in a static part that the user should not need to touch and which would apply to all envir...
    Profile Photo
    last modified by thomas.diesler