conf.autoCodeTemplate.ServiceImpl.tpl Maven / Gradle / Ivy
The newest version!
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package {srcPackage}.service.impl;
import {srcPackage}.dao.{simpleClassName}Dao;
import {srcPackage}.service.{simpleClassName}Service;
import javax.annotation.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
/**
*
* @author jw362j
*/
@Service("my{simpleClassName}Service")
@Scope("singleton")
public class My{simpleClassName}ServiceImpl implements {simpleClassName}Service {
protected static final Logger logger = LoggerFactory.getLogger(My{simpleClassName}ServiceImpl.class);
@Resource
private {simpleClassName}Dao my{simpleClassName}Dao;
}