Class InstallerBinder
- java.lang.Object
-
- org.glassfish.jersey.internal.inject.AbstractBinder
-
- ru.vyarus.dropwizard.guice.module.jersey.hk2.InstallerBinder
-
- All Implemented Interfaces:
org.glassfish.jersey.internal.inject.Binder
public class InstallerBinder extends org.glassfish.jersey.internal.inject.AbstractBinder
HK2 module, which must be registered before HK2 context start (to properly bind resources). Registers all guice extensions into HK2 context as factory, which delegates to guice provider. Such bridging is required to delegate objects creation to guice and properly use guice scopes.If jersey extension is already a factory, then factory will be registered directly.
- Since:
- 16.11.2014
- See Also:
JerseyInstaller
-
-
Constructor Summary
Constructors Constructor Description InstallerBinder(com.google.inject.Injector injector, StatsTracker tracker, LifecycleSupport lifecycle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
-
-
-
Constructor Detail
-
InstallerBinder
public InstallerBinder(com.google.inject.Injector injector, StatsTracker tracker, LifecycleSupport lifecycle)
-
-