Jaap,
RestImpl
- I do not use @JSONRequired
- I would not expect this component to be activated if personService is not
resolved. You can add and @Activate method to to confirm the resolution of
personService
MyApplicationImpl
- I do not override getClasses() or getSingletons().
- My REST
Hi Paul,
I have put the Rest service in a separate bundle but that does not help.
I created a simplified case:
Component(service = RestImpl.class)
@JaxrsResource
@JaxrsApplicationSelect("(" + JaxrsWhiteboardConstants.JAX_RS_NAME +
"=MyApplication)")
@JSONRequired