Hi Adrian,
I had a chance to look at this. However, I cannot seem to get it to work. The GuiceVerticleFactory.java is loaded and runs but always emits:
SEVERE: Class com.englishtown.vertx.guice.BootstrapBinder does not implement Binder (com.google.inject.Module?).
This appears to emanate from the factory:
if (obj instanceof Module) {
...
Here's my (empty) BootstrapBinder:
package com.englishtown.vertx.guice;
import com.google.inject.AbstractModule;
public class BootstrapBinder extends AbstractModule {
@Override
protected void configure() {
}
}
For reference I use vertx 2.0.1.
Thanks.
Morten