@Override public void init() { try { super.init(); final Injector injector = new BromiumWebSetup().createInjectorAndDoEMFRegistration(); this.disposableRegistry = injector.<DisposableRegistry>getInstance(DisposableRegistry.class); } catch (Throwable _e) { throw Exceptions.sneakyThrow(_e); } }
@Override public void init() { try { super.init(); final Injector injector = new RestauranteWebSetup().createInjectorAndDoEMFRegistration(); this.disposableRegistry = injector.<DisposableRegistry>getInstance(DisposableRegistry.class); } catch (Throwable _e) { throw Exceptions.sneakyThrow(_e); } }
@Inject public void registerTo(final DisposableRegistry disposableRegistry) { disposableRegistry.register(this); }