package net.stsmedia.financemanager.service.impl; import net.stsmedia.financemanager.dao.GenericDAOWithJPA; import net.stsmedia.financemanager.domain.Account; import net.stsmedia.financemanager.service.AccountService; import org.springframework.stereotype.Repository; import org.springframework.stereotype.Service; /** * This is a service layer implementation for {@link AccountService}. Note that * most of these methods from the interface are implemented by * {@link GenericDAOWithJPA}. * * This class also provides the functionality of the repository. More * information about this in my blog article entitled 'Spring Finance > Part 3: * DDD, JPA & Transactions' published at StSMedia.net * * @author Stefan Schmidt * @since 0.2 * */ @Service("accountService") @Repository public class AccountServiceImpl extends GenericDAOWithJPA<Account, Long> implements AccountService { }