Package | Description |
---|---|
com.forte.qqrobot.timetask |
Modifier and Type | Class and Description |
---|---|
class |
BaseTimeJob
TimeJob 有时候去实现会出现问题,无法正确覆盖Job 中的方法,故此提供一个新的抽象类以代替原本的TimeJob接口。
由于有人出现过default方法会报错的问题,所以试试在接口列表里写个job能不能解决这个问题 |
Modifier and Type | Method and Description |
---|---|
static <T extends TimeJob> |
TimeJob.getDepend(String beanName,
Class<T> type,
Beans beans,
DependCenter center)
提供一个对象,他的@Beans注解对象以及依赖工厂,则如果可以,则。
为了考虑可能存在的优化方案,仅有当参数@Beans注解对象为null的时候才会通过反射去获取注解。
|
Copyright © 2020. All rights reserved.