public class SharedModule extends AbstractPresenterModule {
@Override
protected void configure() {
install(new DefaultModule());
install(new SecurityModule());
install(new RestDispatchAsyncModule.Builder()
.dispatchHooks(AppRestDispatchHooks.class)
.interceptorRegistry(RestInterceptorRegistry.class)
.build());