code: private void initItem(IManagedContext<?> item, ISurveyCallback callback) {
          try {
              localChangeBegin(item);
  
              if (hasSubject(item.getContextName())) {
                  item.setContextItems(contextItems);
              } else {
                  item.init();
              }
  
              localChangeEnd(item, callback);
          } catch (ContextException e) {
              log.error("Error initializing context.", e);
              execCallback(callback, new SurveyResponse(e.toString()));
          }
      }
docs: Initializes the managed context.
  
  @param item Managed context to initialize.
  @param callback Callback to report subscriber responses.