@Test void generateBeanName_withInterfaceAndCapitalLetterInSequence_producesDeCapitalizedBeanName() throws Exception { String beanName = AmazonWebserviceClientConfigurationUtils .getBeanName("com.amazonaws.services.rds.AmazonRDS"); assertThat(beanName).isEqualTo("amazonRDS"); }
public static String getBeanName(String serviceClassName) { String clientClassName = ClassUtils.getShortName(serviceClassName); String shortenedClassName = StringUtils.delete(clientClassName, SERVICE_IMPLEMENTATION_SUFFIX); return Introspector.decapitalize(shortenedClassName); }
AmazonWebserviceClientConfigurationUtils { public static String getBeanName(String serviceClassName) { String clientClassName = ClassUtils.getShortName(serviceClassName); String shortenedClassName = StringUtils.delete(clientClassName, SERVICE_IMPLEMENTATION_SUFFIX); return Introspector.decapitalize(shortenedClassName); } }
AmazonWebserviceClientConfigurationUtils { public static String getBeanName(String serviceClassName) { String clientClassName = ClassUtils.getShortName(serviceClassName); String shortenedClassName = StringUtils.delete(clientClassName, SERVICE_IMPLEMENTATION_SUFFIX); return Introspector.decapitalize(shortenedClassName); } private  AmazonWebserviceClientConfigurationUtils(); }
AmazonWebserviceClientConfigurationUtils { public static String getBeanName(String serviceClassName) { String clientClassName = ClassUtils.getShortName(serviceClassName); String shortenedClassName = StringUtils.delete(clientClassName, SERVICE_IMPLEMENTATION_SUFFIX); return Introspector.decapitalize(shortenedClassName); } private  AmazonWebserviceClientConfigurationUtils(); static BeanDefinitionHolder registerAmazonWebserviceClient(Object source,
			BeanDefinitionRegistry registry, String serviceNameClassName,
			String customRegionProvider, String customRegion); static AbstractBeanDefinition getAmazonWebserviceClientBeanDefinition(
			Object source, String serviceNameClassName, String customRegionProvider,
			String customRegion, BeanDefinitionRegistry beanDefinitionRegistry); static String getBeanName(String serviceClassName); static String getRegionProviderBeanName(
			BeanDefinitionRegistry beanDefinitionRegistry); static void replaceDefaultRegionProvider(BeanDefinitionRegistry registry,
			String customGlobalRegionProvider); static void replaceDefaultCredentialsProvider(BeanDefinitionRegistry registry,
			String customGlobalCredentialsProvider); }
AmazonWebserviceClientConfigurationUtils { public static String getBeanName(String serviceClassName) { String clientClassName = ClassUtils.getShortName(serviceClassName); String shortenedClassName = StringUtils.delete(clientClassName, SERVICE_IMPLEMENTATION_SUFFIX); return Introspector.decapitalize(shortenedClassName); } private  AmazonWebserviceClientConfigurationUtils(); static BeanDefinitionHolder registerAmazonWebserviceClient(Object source,
			BeanDefinitionRegistry registry, String serviceNameClassName,
			String customRegionProvider, String customRegion); static AbstractBeanDefinition getAmazonWebserviceClientBeanDefinition(
			Object source, String serviceNameClassName, String customRegionProvider,
			String customRegion, BeanDefinitionRegistry beanDefinitionRegistry); static String getBeanName(String serviceClassName); static String getRegionProviderBeanName(
			BeanDefinitionRegistry beanDefinitionRegistry); static void replaceDefaultRegionProvider(BeanDefinitionRegistry registry,
			String customGlobalRegionProvider); static void replaceDefaultCredentialsProvider(BeanDefinitionRegistry registry,
			String customGlobalCredentialsProvider); static final String REGION_PROVIDER_BEAN_NAME; static final String CREDENTIALS_PROVIDER_BEAN_NAME; }