mattiasholmqvist/jclouds — comment on commit be3733d9cc6e45bc4315e0204978db5631737f6f
File: sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/admin/StartJettyIfNotAlreadyRunning.java line 58
By jclouds:

I would create a \@PostConstruct method and move the assignment of jetty to server.get() there. It is safer than having this in the constructor as something that performs i/o in constructors causes really hard to troubleshoot issues. the method annotated \@PostConstruct will be automatically called after all injections on the whole graph are performed.