|
@@ -27,13 +27,13 @@ public abstract class AdmAnalysisServiceBase implements AdmAnalyseService {
|
|
|
*/
|
|
|
@PostConstruct
|
|
|
@Override
|
|
|
- public final synchronized void init(AdmAnalysisModel model) throws BusinessException {
|
|
|
+ public final synchronized void init() throws BusinessException {
|
|
|
// 1.是否需要打印日志
|
|
|
if (log.isDebugEnabled()) {
|
|
|
log.debug("AdmAnalysisModelBase.init方法开始:{}", this);
|
|
|
}
|
|
|
// 调具体实现类的方法,完成自身的初始化
|
|
|
- initInternal(model);
|
|
|
+ initInternal();
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -44,13 +44,13 @@ public abstract class AdmAnalysisServiceBase implements AdmAnalyseService {
|
|
|
*/
|
|
|
@PreDestroy
|
|
|
@Override
|
|
|
- public final synchronized void destroy(AdmAnalysisModel model) throws BusinessException {
|
|
|
+ public final synchronized void destroy() throws BusinessException {
|
|
|
// 1.是否需要打印日志
|
|
|
if (log.isDebugEnabled()) {
|
|
|
log.debug("AdmAnalysisModelBase.destroy() :{}", this);
|
|
|
}
|
|
|
// 调具体实现类的方法,完成自身的销毁逻辑
|
|
|
- destroyInternal(model);
|
|
|
+ destroyInternal();
|
|
|
if (log.isDebugEnabled()) {
|
|
|
log.debug("AdmAnalysisModelBase.destroy() end:{}", this);
|
|
|
}
|
|
@@ -128,7 +128,7 @@ public abstract class AdmAnalysisServiceBase implements AdmAnalyseService {
|
|
|
* @author : lijie
|
|
|
* Update By 2022/1/21 12:03
|
|
|
*/
|
|
|
- protected void initInternal(AdmAnalysisModel model){};
|
|
|
+ protected void initInternal(){};
|
|
|
|
|
|
/**
|
|
|
* 内部销毁方法,子类覆写即可
|
|
@@ -136,5 +136,5 @@ public abstract class AdmAnalysisServiceBase implements AdmAnalyseService {
|
|
|
* @author : lijie
|
|
|
* Update By 2022/1/21 12:03
|
|
|
*/
|
|
|
- protected void destroyInternal(AdmAnalysisModel model){};
|
|
|
+ protected void destroyInternal(){};
|
|
|
}
|