All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.wboost.common.base.old.service.impl.BaseServiceImpl Maven / Gradle / Ivy

package top.wboost.common.base.old.service.impl;

import top.wboost.common.base.service.BaseService;
import top.wboost.common.log.entity.Logger;
import top.wboost.common.log.util.LoggerUtil;
import top.wboost.common.util.ReflectUtil;

/**
 * Service公共实现基础类
 * @className BaseServiceImpl
 * @author jwSun
 * @date 2017年6月28日 下午8:10:40
 * @version 1.0.0
 * @param 
 */
public abstract class BaseServiceImpl implements BaseService {

    protected Logger log = LoggerUtil.getLogger(getClass());

    // ***************************自定义方法********************************//

    @SuppressWarnings("unchecked")
    protected Class getThisClass() {
        return (Class) ReflectUtil.getGenericInterfaces(getClass(), 0);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy