template.conf.sit_javaee6.java-service.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sit-ad Show documentation
Show all versions of sit-ad Show documentation
SIToolkit for Application Develepment
The newest version!
package $service.pkg;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.ejb.TransactionManagement;
import javax.ejb.TransactionManagementType;
import javax.inject.Inject;
import ${service.appRootPkg}.infra.layer.BaseDao;
import ${service.appRootPkg}.infra.layer.BaseService;
/**
* このクラスは、$service.entity.nameのサービスです。
* @author
**/
@Stateless
@TransactionManagement(TransactionManagementType.CONTAINER)
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public class $service.pname extends BaseService<$service.entity.pname, $service.entity.idType> {
@Inject
${service.entity.domain}Dao dao;
@Override
public BaseDao<$service.entity.pname, $service.entity.idType> getDao() {
return dao;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy