public <T> T getBean(final String name, final Class<T> type) {
        return applicationContext.getBean(name, type);
    }
get bean by name and type.

@param <T> the type
@param name the bean name
@param type the bean type
@return bean bean
shenyu-admin/src/main/java/org/apache/shenyu/admin/spring/SpringBeanUtils.java