Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/util/data/EntityManagerProducer.java @ 711:3ec358698b4d
Code style and documentation.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 22 Jul 2015 16:03:03 +0200 |
parents | f0ad10e0e1b1 |
children |
comparison
equal
deleted
inserted
replaced
710:2ae27dde4823 | 711:3ec358698b4d |
---|---|
12 import javax.ejb.SessionContext; | 12 import javax.ejb.SessionContext; |
13 import javax.ejb.Stateless; | 13 import javax.ejb.Stateless; |
14 import javax.persistence.EntityManager; | 14 import javax.persistence.EntityManager; |
15 import javax.validation.UnexpectedTypeException; | 15 import javax.validation.UnexpectedTypeException; |
16 | 16 |
17 | 17 /** |
18 * Factory class used to get entitymanager for a specific persistence unit. | |
19 * | |
20 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> | |
21 */ | |
18 @Stateless | 22 @Stateless |
19 @LocalBean | 23 @LocalBean |
20 public class EntityManagerProducer { | 24 public class EntityManagerProducer { |
21 | 25 |
22 @Resource | 26 @Resource |