code: public static WebApplicationService getService(final RequestContext context) {
          return context != null ? (WebApplicationService) context.getFlowScope().get(PARAMETER_SERVICE) : null;
      }
docs: Gets the service from the flow scope.
  
  @param context the context
  @return the service