this.bus = bus;
}
public void configure(Map<Class, Provider> bindings, Map<String, Provider> resourceProviders) {
if (Boolean.getBoolean("errai.tools.bus_monitor_attach")) {
ServerMessageBusImpl sBus = (ServerMessageBusImpl) bus;
proc = new ActivityProcessor();
try {
new Bootstrapper(proc, bus).init();
}
catch (Throwable t) {
t.printStackTrace();
}
sBus.attachMonitor(new BusMonitor() {
MessageBus bus;
public void attach(MessageBus bus) {
this.bus = bus;
}