br.gov.frameworkdemoiselle.internal.producer
Class EntityManagerFactoryProducer
java.lang.Object
br.gov.frameworkdemoiselle.internal.producer.EntityManagerFactoryProducer
- All Implemented Interfaces:
- Serializable
@ApplicationScoped
public class EntityManagerFactoryProducer
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENTITY_MANAGER_RESOURCE
public static String ENTITY_MANAGER_RESOURCE
EntityManagerFactoryProducer
public EntityManagerFactoryProducer()
create
public javax.persistence.EntityManagerFactory create(String persistenceUnit)
loadPersistenceUnits
@PostConstruct
public void loadPersistenceUnits()
close
@PreDestroy
public void close()
getCache
public Map<String,javax.persistence.EntityManagerFactory> getCache()
Copyright © 2012 SERPRO - Serviço Federal de Processamento de Dados. All Rights Reserved.