code: private StateBackend createStateBackend() throws Exception {
  		final StateBackend fromApplication = configuration.getStateBackend(getUserCodeClassLoader());
  
  		return StateBackendLoader.fromApplicationOrConfigOrDefault(
  				fromApplication,
  				getEnvironment().getTaskManagerInfo().getConfiguration(),
  				getUserCodeClassLoader(),
  				LOG);
  	}
docs: ------------------------------------------------------------------------