public class BroadleafBeanNameGenerator
extends org.springframework.context.annotation.AnnotationBeanNameGenerator
Prefixes a default Spring-generated bean name with 'bl', and also uppercases the first character of the default bean name.
If the bean name is already prefixed with bl|, this does nothing.
Example: catalogEndpoint -> blCatalogEndpoint, blCatalogService -> blCatalogService
| Modifier and Type | Field and Description |
|---|---|
static String |
BROADLEAF_BEAN_PREFIX |
| Constructor and Description |
|---|
BroadleafBeanNameGenerator() |
| Modifier and Type | Method and Description |
|---|---|
String |
generateBeanName(org.springframework.beans.factory.config.BeanDefinition definition,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
public static final String BROADLEAF_BEAN_PREFIX
public String generateBeanName(org.springframework.beans.factory.config.BeanDefinition definition, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
generateBeanName in interface org.springframework.beans.factory.support.BeanNameGeneratorgenerateBeanName in class org.springframework.context.annotation.AnnotationBeanNameGeneratorCopyright © 2019. All rights reserved.