Class HelidonHK2InjectionManagerFactory

java.lang.Object
org.glassfish.jersey.inject.hk2.Hk2InjectionManagerFactory
io.helidon.microprofile.server.HelidonHK2InjectionManagerFactory
All Implemented Interfaces:
org.glassfish.jersey.internal.inject.InjectionManagerFactory

@Priority(11) public class HelidonHK2InjectionManagerFactory extends Hk2InjectionManagerFactory
Overrides the injection manager factory from Jersey and provides a new implementation of InjectionManager. This new injection manager will separate registrations for those global (shared) providers and those returned by calling getClasses and getSingletons. This separation is necessary to properly associate providers with JAX-RS applications, of which there could be more than one in Helidon.
  • Constructor Details

    • HelidonHK2InjectionManagerFactory

      public HelidonHK2InjectionManagerFactory()
      Required by ServiceLoader.
  • Method Details

    • create

      public org.glassfish.jersey.internal.inject.InjectionManager create(Object parent)
      Specified by:
      create in interface org.glassfish.jersey.internal.inject.InjectionManagerFactory
      Overrides:
      create in class Hk2InjectionManagerFactory