Class JerseyPhaseEvent

    • Method Detail

      • getInjectionManager

        public org.glassfish.jersey.internal.inject.InjectionManager getInjectionManager()
        Note: all guicey events are happen before jersey application initialization finish and so manager can't be used for extensions access, but it could be stored somewhere and used later (with help of jersey lifecycle listener).

        Note: HK2 ServiceLocator could be obtained as bean from manager as getInjectionManager().getInstance(ServiceLocator.class).

        Returns:
        root service locator