This init method is exactly the same here and ConnectionlessQueryServicesImpl.java. 
should be refactored, probably into static method somewhere as it doesn't affect the state of either classes.