双重预防项目-国泰新华二开定制版
16639036659
2022-09-05 1d59b1ab2e678f23de72c2c60be3cd80be58bfc2
src/main/java/com/ruoyi/common/utils/spring/SpringUtils.java
@@ -29,7 +29,7 @@
     *
     * @param name
     * @return Object 一个以所给名字注册的bean的实例
     * @throws BeansException
     * @throws org.springframework.beans.BeansException
     *
     */
    @SuppressWarnings("unchecked")
@@ -43,7 +43,7 @@
     *
     * @param clz
     * @return
     * @throws BeansException
     * @throws org.springframework.beans.BeansException
     *
     */
    public static <T> T getBean(Class<T> clz) throws BeansException
@@ -68,7 +68,7 @@
     *
     * @param name
     * @return boolean
     * @throws NoSuchBeanDefinitionException
     * @throws org.springframework.beans.factory.NoSuchBeanDefinitionException
     *
     */
    public static boolean isSingleton(String name) throws NoSuchBeanDefinitionException
@@ -79,7 +79,7 @@
    /**
     * @param name
     * @return Class 注册对象的类型
     * @throws NoSuchBeanDefinitionException
     * @throws org.springframework.beans.factory.NoSuchBeanDefinitionException
     *
     */
    public static Class<?> getType(String name) throws NoSuchBeanDefinitionException
@@ -92,7 +92,7 @@
     *
     * @param name
     * @return
     * @throws NoSuchBeanDefinitionException
     * @throws org.springframework.beans.factory.NoSuchBeanDefinitionException
     *
     */
    public static String[] getAliases(String name) throws NoSuchBeanDefinitionException