public class BeanRegistrar extends Object
| Constructor and Description |
|---|
BeanRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasAlias(org.springframework.core.AliasRegistry registry,
String beanName,
String alias)
Detect the alias is present or not in the given bean name from
AliasRegistry |
static void |
registerInfrastructureBean(org.springframework.beans.factory.support.BeanDefinitionRegistry beanDefinitionRegistry,
String beanName,
Class<?> beanType)
Register Infrastructure Bean
|
public static void registerInfrastructureBean(org.springframework.beans.factory.support.BeanDefinitionRegistry beanDefinitionRegistry,
String beanName,
Class<?> beanType)
beanDefinitionRegistry - BeanDefinitionRegistrybeanType - the type of beanbeanName - the name of beanpublic static boolean hasAlias(org.springframework.core.AliasRegistry registry,
String beanName,
String alias)
AliasRegistryregistry - AliasRegistrybeanName - the bean namealias - alias to testtrue, or falseCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.