Class Hk2BootstrapBinder

java.lang.Object
org.glassfish.hk2.utilities.binding.AbstractBinder
org.glassfish.jersey.inject.hk2.Hk2BootstrapBinder
All Implemented Interfaces:
org.glassfish.hk2.api.DynamicConfiguration, org.glassfish.hk2.utilities.Binder

public class Hk2BootstrapBinder extends org.glassfish.hk2.utilities.binding.AbstractBinder
AbstractBinder that registers all components needed for a proper bootstrap of Jersey based on HK2 framework.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.glassfish.hk2.api.ServiceLocator
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Hk2BootstrapBinder(org.glassfish.hk2.api.ServiceLocator serviceLocator)
    Create a bootstrap which is specific for HK2 module and automatically install externalBinder.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class org.glassfish.hk2.utilities.binding.AbstractBinder

    addActiveDescriptor, addActiveDescriptor, addActiveDescriptor, addActiveFactoryDescriptor, addIdempotentFilter, addUnbindFilter, bind, bind, bind, bind, bind, bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, commit, install, registerTwoPhaseResources

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serviceLocator

      private final org.glassfish.hk2.api.ServiceLocator serviceLocator
  • Constructor Details

    • Hk2BootstrapBinder

      Hk2BootstrapBinder(org.glassfish.hk2.api.ServiceLocator serviceLocator)
      Create a bootstrap which is specific for HK2 module and automatically install externalBinder.
      Parameters:
      serviceLocator - HK2 service locator.
  • Method Details

    • configure

      protected void configure()
      Specified by:
      configure in class org.glassfish.hk2.utilities.binding.AbstractBinder