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

      • HelidonHK2InjectionManagerFactory

        public HelidonHK2InjectionManagerFactory()
    • Method Detail

      • 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