fix osgi plugin cache error
[NGRINDER-690] Make API consistent