Annotation Type GuiceManaged


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface GuiceManaged
    Annotation could be used to mark jersey related extension as managed by guice. By default, all extensions are already managed by guice and so annotation is useless. But when hk-first mode enabled (see InstallersOptions.JerseyExtensionsManagedByGuice) then annotation could be used to mark exceptional beans which still must be managed by guice.

    Soft deprecation: try to avoid hk2 direct usage if possible, someday HK2 support will be removed

    Since:
    28.04.2018
    See Also:
    JerseyManaged