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

template.conf.sit_javaee6.java-service.vm Maven / Gradle / Ivy

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