Use a more OSGI friendly way to create Vert.x resources.