Module io.helidon.webserver.jersey
Package io.helidon.webserver.jersey
Class HelidonHK2InjectionManagerFactory
- java.lang.Object
-
- org.glassfish.jersey.inject.hk2.Hk2InjectionManagerFactory
-
- io.helidon.webserver.jersey.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 ofInjectionManager
. This new injection manager will separate registrations for those global (shared) providers and those returned by callinggetClasses
andgetSingletons
. This separation is necessary to properly associate providers with JAX-RS applications, of which there could be more than one in Helidon.
-
-
Field Summary
-
Fields inherited from class org.glassfish.jersey.inject.hk2.Hk2InjectionManagerFactory
HK2_INJECTION_MANAGER_STRATEGY
-
-
Constructor Summary
Constructors Constructor Description HelidonHK2InjectionManagerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.glassfish.jersey.internal.inject.InjectionManager
create(Object parent)
-
Methods inherited from class org.glassfish.jersey.inject.hk2.Hk2InjectionManagerFactory
isImmediateStrategy
-
-
-
-
Method Detail
-
create
public org.glassfish.jersey.internal.inject.InjectionManager create(Object parent)
- Specified by:
create
in interfaceorg.glassfish.jersey.internal.inject.InjectionManagerFactory
- Overrides:
create
in classHk2InjectionManagerFactory
-
-