mattiasholmqvist/jclouds — comment on commit be3733d9cc6e45bc4315e0204978db5631737f6f
File: sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/config/VirtualBoxComputeServiceContextModule.java line 174
By jclouds:

if this gets too complicated, there is another way :) create a class that implements javax.inject.Provider that just returns new Server()

in your configure() method, do bind(Server.class).toProvider(ServerProvider.class).in(Scopes.SINGLETON)

change all references to Supplier to Provider

this is ok, as I don't think new Server() implies any i/o