类 BeanRegistrationUtils
java.lang.Object
com.cdkjframework.util.tool.meta.BeanRegistrationUtils
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static booleanregisterBeanDefinitionIfNotExists(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, String beanName, Class<?> beanClass) 不存在注册定义static booleanregisterBeanDefinitionIfNotExists(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, String beanName, Class<?> beanClass, Map<String, Object> extraPropertyValues) 不存在注册定义
-
构造器详细资料
-
BeanRegistrationUtils
public BeanRegistrationUtils()
-
-
方法详细资料
-
registerBeanDefinitionIfNotExists
public static boolean registerBeanDefinitionIfNotExists(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, String beanName, Class<?> beanClass) 不存在注册定义- 参数:
registry- Bean定义注册表beanName- bean名称beanClass- bean类- 返回:
- 返回结果
-
registerBeanDefinitionIfNotExists
public static boolean registerBeanDefinitionIfNotExists(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, String beanName, Class<?> beanClass, Map<String, Object> extraPropertyValues) 不存在注册定义- 参数:
registry- Bean定义注册表beanName- bean名称beanClass- bean类extraPropertyValues- 额外属性值- 返回:
- 返回结果
-