Class 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 org.glassfish.hk2.api.ServiceLocator 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configure()  
      • 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 Detail

      • serviceLocator

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

      • 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 Detail

      • configure

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