It seems I have to implement my resource provide injecting into jersey.