@Override
protected Object createJobInstance(final TriggerFiredBundle bundle) throws Exception {
final AutowireCapableBeanFactory beanFactory = applicationContext.getAutowireCapableBeanFactory();
final Object job = super.createJobInstance(bundle);
logger.debug("Created job {} for bundle {}", job, bundle);
beanFactory.autowireBean(job);
logger.debug("Autowired job per the application context");
return job;
}
CasSpringBeanJobFactory.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:springboot-shiro-cas-mybatis
作者:
评论列表
文章目录