Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configure()  
      • Methods inherited from class org.glassfish.jersey.internal.inject.AbstractBinder

        bind, bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, createManagedInstanceProvider, getBindings, install
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • configure

        protected void configure()
        Specified by:
        configure in class org.glassfish.jersey.internal.inject.AbstractBinder