Instance of RapidViewServiceImpl

Hi,

I am developing a Jira plugin using Java, does someone know how can I get an instance of RapidViewServiceImpl?
I tried something like RapidViewService r= new RapidViewServiceImpl() but I get a nullPtrException, so this is not the way to do that.

Thank you very much.