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

Reply via email to