反射
作者:互联网
Object service = SpringUtils.getBean("bean名"); ReflectUtil.invoke(service, "方法名" , 参数);
Object service = SpringUtils.getBean(PageSelectionType.parse(jobQuartz.getPageSelection()).getBean());
ReflectUtil.invoke(service, PageSelectionType.parse(jobQuartz.getPageSelection()).getMethod(),toEmail);
标签:反射,service,invoke,ReflectUtil,SpringUtils,Object,getBean 来源: https://www.cnblogs.com/Arash/p/16201318.html