Class AutoDiscoverableConfigurator

java.lang.Object
org.glassfish.jersey.internal.AbstractServiceFinderConfigurator<org.glassfish.jersey.internal.spi.AutoDiscoverable>
org.glassfish.jersey.internal.AutoDiscoverableConfigurator
All Implemented Interfaces:
BootstrapConfigurator

public class AutoDiscoverableConfigurator extends AbstractServiceFinderConfigurator<org.glassfish.jersey.internal.spi.AutoDiscoverable>
Configurator which initializes and register AutoDiscoverable instances into InjectionManager and BootstrapBag.
Author:
Petr Bouda
  • Constructor Details

    • AutoDiscoverableConfigurator

      public AutoDiscoverableConfigurator(RuntimeType runtimeType)
      Create a new configurator.
      Parameters:
      runtimeType - runtime (client or server) where the service finder binder is used.
  • Method Details

    • init

      public void init(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)
      Description copied from interface: BootstrapConfigurator
      Pre-initialization method should only register services into InjectionManager and populate BootstrapBag.
      Parameters:
      injectionManager - not completed injection manager.
      bootstrapBag - bootstrap bag with services used in following processing.