code: public void hkManage(final Class<?> type) {
          if (!JerseyBinding.isHK2Managed(type, options.get(JerseyExtensionsManagedByGuice))) {
              throw new WrongContextException("HK2 creates service %s which must be managed by guice.",
                      type.getName());
          }
          hkManaged.add(type);
      }
docs: Called by specific HK2 lifecycle listener to check if bean is properly instantiated by HK2.
  
  @param type instantiated bean type