code: private String getCacheManagerName(String beanName) {
  		if (beanName.length() > CACHE_MANAGER_SUFFIX.length()
  				&& StringUtils.endsWithIgnoreCase(beanName, CACHE_MANAGER_SUFFIX)) {
  			return beanName.substring(0,
  					beanName.length() - CACHE_MANAGER_SUFFIX.length());
  		}
  		return beanName;
  	}
docs: Get the name of a {@link CacheManager} based on its {@code beanName}.
  @param beanName the name of the {@link CacheManager} bean
  @return a name for the given cache manager