@SuppressWarnings("all")
    public <T> T getBeanByClassName(final String className) {
        String beanName = this.getBeanName(className);
        try {
            return this.getBean(beanName);
        } catch (BeansException e) {
            return null;
        }
    }
Get bean boolean.
Only applies to successful beans registered by the {@linkplain #registerBean(BeanDefinition, ClassLoader)} method.

@param <T>       the type parameter
@param className the class name
@return boolean bean by class name
shenyu-plugin/shenyu-plugin-api/src/main/java/org/apache/shenyu/plugin/api/utils/SpringBeanUtils.java