Package io.helidon.microprofile.server
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
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.-
Field Summary
Fields inherited from class org.glassfish.jersey.inject.hk2.Hk2InjectionManagerFactory
HK2_INJECTION_MANAGER_STRATEGY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.glassfish.jersey.inject.hk2.Hk2InjectionManagerFactory
isImmediateStrategyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.glassfish.jersey.internal.inject.InjectionManagerFactory
create
-
Constructor Details
-
HelidonHK2InjectionManagerFactory
public HelidonHK2InjectionManagerFactory()Required byServiceLoader.
-
-
Method Details
-
create
- Specified by:
createin interfaceorg.glassfish.jersey.internal.inject.InjectionManagerFactory- Overrides:
createin classHk2InjectionManagerFactory
-