code: public void setContext( AdapterContext context )
      {
          Object servletContext = context.getExternalContext();
          assert servletContext instanceof ServletContext : servletContext;
          _servletContext = ( ServletContext ) servletContext;
          _eventReporter = createEventReporter();
      }
docs: Set the AdapterContext.
  @param context the AdapterContext to set.