final Class<? extends AuthenticationAdapter> authAdapterClass = Class.forName(properties.get("errai.authentication_adapter"))
.asSubclass(AuthenticationAdapter.class);
final Runnable create = new Runnable() {
public void run() {
final AuthenticationAdapter authAdapterInst = Guice.createInjector(new AbstractModule() {
@Override
protected void configure() {
bind(AuthenticationAdapter.class).to(authAdapterClass);
bind(ErraiServiceConfigurator.class).toInstance(configInst);
bind(MessageBus.class).toInstance(bus);