aungmyo / impala

Automatically exported from code.google.com/p/impala
0 stars 0 forks source link

Typed service factory bean lookup not working #279

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Applies as of changeset r5077

This is because the lookup is using the bean name, rather than the
interface type passed in.

See the test EntryServiceTest.testLooupServices, and the call: 
        MessageService typedMessageService =
Impala.getModuleBean("example-service", "typedMessageService",
MessageService.class);
        System.out.println(typedMessageService.getMessage());

This is currently throwing a NoServiceException

Original issue reported on code.google.com by philzoio...@googlemail.com on 15 Dec 2009 at 3:22

GoogleCodeExporter commented 9 years ago
Code fix applied as of r5080 - just need to add documentation.

Original comment by philzoio...@googlemail.com on 15 Dec 2009 at 3:57

GoogleCodeExporter commented 9 years ago
Fixed as of r5102

Original comment by philzoio...@googlemail.com on 16 Dec 2009 at 5:44