Hi, Could you share your generated manifest files (MANIFEST.MF) for both API and implementation bundles?
In the mean time you could try to add your ICoreService's package name to implementation bundle's import section manually if it's not already there. Regards, Göktürk On Oct 20, 2012 2:37 AM, "lessonz" <[email protected]> wrote: > Okay, so I realized I'd been ignoring an error. There is an error I'd be > unintentionally ignoring: > > [Thread-1] ERROR com.sample.bundle - [ERROR] > com.sample.SampleServiceImpl : Service Providing: The service specification > com.sample.ICoreService cannot be load > > Okay, this happened when I had ISampleService extend ICoreService. Some > other details. SampleServiceImpl is in one bundle. Both ISampleService and > ICoreService are in one, but a different, bundle. They are in different > packages, but the bundle exports both of these packages. The ICoreService > interface has 0 imports. I see the error even if I have SampleServiceImpl > import ICoreService directly. If I make ISampleService NOT extend > ICoreService, the error goes away (makes sense) and SampleServiceImpl gets > instantiated no problem. > > Any ideas would be greatly appreciated. > > Thanks > On Oct 18, 2012 7:14 PM, "lessonz" <[email protected]> wrote: > > > I’m using IPOJO. > > > > > > Okay, I’ve got one that has me stumped. I have a component with some > > member components: > > > > > > @Component > > > > @Instantiate > > > > @Provides > > > > public class SampleServiceImpl implements ISampleService { > > > > @Requires > > > > private ITestAService testAService; > > > > @Requires > > > > private ITestBService testBService; > > > > . > > > > . > > > > . > > > > } > > > > > > If I have the interface ITestAService extend ICoreService everything > seems > > to work just fine, but if I have ITestBService extend ICoreService then > > ITestBService and SampleServiceImpl never register. This really doesn’t > > make any sense to me. There doesn’t appear to be any rhyme or reason to > it. > > As I don't understand how this is possible, it's entirely possible I'm > > missing something that is material to the conversation. I'm just not sure > > what it is. I'd love any ideas about where to look. > > > > > > Our architecture would ideally have ISampleService, ITestAService, and > > ITestBService all have ICoreService as a super-interface. The > documentation > > seems to indicate this should be possible, but for some reason I can’t > get > > it to work. Am I missing something? > > > > > > Thanks > > >

