01: package org.vraptor.plugin.jpa;
02:
03: import javax.persistence.EntityManager;
04:
05: import org.vraptor.annotations.Component;
06:
07: /**
08: * @author Fabio Correia Kung
09: *
10: */
11: @Component
12: public class EntityManagerWrongDependent {
13: // @PersistenceContext missing the annotation
14: private EntityManager entityManager;
15:
16: public void logic() {
17: }
18:
19: public EntityManager getEntityManager() {
20: return this.entityManager;
21: }
22: }
|