code: Object getDataService(T session, Class cls) throws DataServiceException {
  		String dataServiceClassName = cls.getName();
  		logger.debug("Looking for dataservice : {}", dataServiceClassName);
  		if (cls.isAnnotationPresent(DataService.class)) {
  			return _getDataService(session, cls);
  		} else {
  			throw new DataServiceException(dataServiceClassName + " is not annotated with @" + DataService.class.getSimpleName());
  		}
  	}
docs: Get Dataservice, store dataservice in session if session scope.<br>
  
  @param session
  @param cls
  @return
  @throws DataServiceException