Codota Logo
com.englishtown.vertx.guice
Code IndexAdd Codota to your IDE (free)

How to use com.englishtown.vertx.guice

Best Java code snippets using com.englishtown.vertx.guice (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: com.englishtown.vertx/vertx-jersey

/**
 * Configures a {@link com.google.inject.Binder} via the exposed methods.
 */
@Override
protected void configure() {
  install(new GuiceJerseyBinder());
}
origin: ef-labs/vertx-guice

/**
 * Returns the current parent injector
 *
 * @return
 */
public Injector getInjector() {
  if (injector == null) {
    injector = createInjector();
  }
  return injector;
}
origin: com.englishtown.vertx/vertx-jersey

  /**
   * Configures a {@link com.google.inject.Binder} via the exposed methods.
   */
  @Override
  protected void configure() {
    install(new GuiceJerseyBinder());
    bind(WhenJerseyServer.class).to(DefaultWhenJerseyServer.class);
  }
}
origin: ef-labs/vertx-jersey

protected List<Module> getModules(Vertx vertx) {
  return Arrays.asList(
      new GuiceVertxBinder(vertx),
      new WhenGuiceJerseyBinder(),
      new GuiceWhenBinder());
}
origin: com.englishtown.vertx/vertx-jersey

@Inject
public GuiceJerseyServer(JerseyHandler jerseyHandler, VertxContainer container, Provider<JerseyServerOptions> optionsProvider, ServiceLocator locator, Injector injector) {
  super(jerseyHandler, container, optionsProvider);
  initBridge(locator, injector);
}
origin: com.englishtown/vertx-mod-jersey

/**
 * This is a workaround for the hk2 bridge limitations
 *
 * @param locator  the HK2 locator
 * @param injector the Guice injector
 */
protected void injectMultibindings(ServiceLocator locator, Injector injector) {
  injectMultiBindings(locator, injector, new Key<Set<ContainerRequestFilter>>() {
  }, ContainerRequestFilter.class);
  injectMultiBindings(locator, injector, new Key<Set<ContainerResponseFilter>>() {
  }, ContainerResponseFilter.class);
  injectMultiBindings(locator, injector, new Key<Set<ReaderInterceptor>>() {
  }, ReaderInterceptor.class);
  injectMultiBindings(locator, injector, new Key<Set<WriterInterceptor>>() {
  }, WriterInterceptor.class);
  injectMultiBindings(locator, injector, new Key<Set<ModelProcessor>>() {
  }, ModelProcessor.class);
}
origin: com.englishtown.vertx/vertx-jersey

  @Override
  protected void configure() {
    bind(GuiceScopeContext.class).to(new TypeLiteral<Context<GuiceScope>>() {
    }).in(Singleton.class);
  }
});
origin: com.englishtown.vertx/vertx-guice

  /**
   * {@inheritDoc}
   */
  @Override
  protected void configure() {
    bind(Vertx.class).toInstance(vertx);
  }
}
origin: com.englishtown/vertx-mod-jersey

  /**
   * Configures a {@link com.google.inject.Binder} via the exposed methods.
   */
  @Override
  protected void configure() {
    install(new GuiceJerseyBinder());
    bind(WhenJerseyServer.class).to(DefaultWhenJerseyServer.class);
  }
}
origin: ef-labs/vertx-jersey

/**
 * Configures a {@link com.google.inject.Binder} via the exposed methods.
 */
@Override
protected void configure() {
  install(new GuiceJerseyBinder());
}
origin: ef-labs/vertx-jersey

@Override
protected WhenJerseyServer getWhenJerseyServer() {
  if (injector == null) {
    injector = com.google.inject.Guice.createInjector(new WhenGuiceJerseyBinder(), new GuiceWhenBinder(), new GuiceVertxBinder(vertx));
  }
  return injector.getInstance(WhenJerseyServer.class);
}
origin: com.englishtown/vertx-mod-jersey

@Inject
public GuiceJerseyServer(Provider<JerseyHandler> jerseyHandlerProvider, ServiceLocator locator, Injector injector) {
  super(jerseyHandlerProvider);
  initBridge(locator, injector);
}
origin: ef-labs/vertx-jersey

/**
 * This is a workaround for the hk2 bridge limitations
 *
 * @param locator  the HK2 locator
 * @param injector the Guice injector
 */
protected void injectMultibindings(ServiceLocator locator, Injector injector) {
  injectMultiBindings(locator, injector, new Key<Set<ContainerRequestFilter>>() {
  }, ContainerRequestFilter.class);
  injectMultiBindings(locator, injector, new Key<Set<ContainerResponseFilter>>() {
  }, ContainerResponseFilter.class);
  injectMultiBindings(locator, injector, new Key<Set<ReaderInterceptor>>() {
  }, ReaderInterceptor.class);
  injectMultiBindings(locator, injector, new Key<Set<WriterInterceptor>>() {
  }, WriterInterceptor.class);
  injectMultiBindings(locator, injector, new Key<Set<ModelProcessor>>() {
  }, ModelProcessor.class);
  injectMultiBindings(locator, injector, new Key<Set<ContainerLifecycleListener>>() {
  }, ContainerLifecycleListener.class);
  injectMultiBindings(locator, injector, new Key<Set<ApplicationEventListener>>() {
  }, ApplicationEventListener.class);
  injectMultiBindings(locator, injector, new Key<Set<ExceptionMapper>>() {
  }, ExceptionMapper.class);
}
origin: com.englishtown.vertx/vertx-guice

/**
 * Returns the current parent injector
 *
 * @return
 */
public Injector getInjector() {
  if (injector == null) {
    injector = createInjector();
  }
  return injector;
}
origin: ef-labs/vertx-jersey

  @Override
  protected void configure() {
    bind(GuiceScopeContext.class).to(new TypeLiteral<Context<GuiceScope>>() {
    }).in(Singleton.class);
  }
});
origin: ef-labs/vertx-guice

  /**
   * {@inheritDoc}
   */
  @Override
  protected void configure() {
    bind(Vertx.class).toInstance(vertx);
  }
}
origin: ef-labs/vertx-jersey

  /**
   * Configures a {@link com.google.inject.Binder} via the exposed methods.
   */
  @Override
  protected void configure() {
    install(new GuiceJerseyBinder());
    bind(WhenJerseyServer.class).to(DefaultWhenJerseyServer.class);
  }
}
origin: com.englishtown/vertx-mod-jersey

/**
 * Configures a {@link com.google.inject.Binder} via the exposed methods.
 */
@Override
protected void configure() {
  install(new GuiceJerseyBinder());
}
origin: ef-labs/vertx-jersey

@Inject
public GuiceJerseyServer(JerseyHandler jerseyHandler, VertxContainer container, Provider<JerseyServerOptions> optionsProvider, ServiceLocator locator, Injector injector) {
  super(jerseyHandler, container, optionsProvider);
  initBridge(locator, injector);
}
origin: com.englishtown.vertx/vertx-jersey

/**
 * This is a workaround for the hk2 bridge limitations
 *
 * @param locator  the HK2 locator
 * @param injector the Guice injector
 */
protected void injectMultibindings(ServiceLocator locator, Injector injector) {
  injectMultiBindings(locator, injector, new Key<Set<ContainerRequestFilter>>() {
  }, ContainerRequestFilter.class);
  injectMultiBindings(locator, injector, new Key<Set<ContainerResponseFilter>>() {
  }, ContainerResponseFilter.class);
  injectMultiBindings(locator, injector, new Key<Set<ReaderInterceptor>>() {
  }, ReaderInterceptor.class);
  injectMultiBindings(locator, injector, new Key<Set<WriterInterceptor>>() {
  }, WriterInterceptor.class);
  injectMultiBindings(locator, injector, new Key<Set<ModelProcessor>>() {
  }, ModelProcessor.class);
  injectMultiBindings(locator, injector, new Key<Set<ContainerLifecycleListener>>() {
  }, ContainerLifecycleListener.class);
  injectMultiBindings(locator, injector, new Key<Set<ApplicationEventListener>>() {
  }, ApplicationEventListener.class);
  injectMultiBindings(locator, injector, new Key<Set<ExceptionMapper>>() {
  }, ExceptionMapper.class);
}
com.englishtown.vertx.guice

Most used classes

  • GuiceJerseyBinder
    Guice Jersey binder
  • BootstrapBinder
    Guice bootstrap jersey binder
  • GuiceJerseyServer
    Guice extension of com.englishtown.vertx.jersey.impl.DefaultJerseyServer
  • GuiceVertxBinder
    Guice AbstractModule for vertx and container injections
  • WhenGuiceJerseyBinder
    Guice binder for when.java jersey
  • GuiceVerticleFactory,
  • GuiceVerticleLoader,
  • Binder,
  • ConfigBinder,
  • ConfigDependency
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now