public class ViewEntityManagerStore extends AbstractEntityManagerStore
| Constructor and Description |
|---|
ViewEntityManagerStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Run this to initialize all persistence units.
|
void |
terminate()
Run this to close all persistence units.
|
getCache, getEntityManager@PostConstruct public void initialize()
EntityManagerStorePostConstruct, so it runs as soon as an EntityManager gets injected.@PreDestroy public void terminate()
EntityManagerStorePreDestroy, so it runs as soon as the scope the EntityManager is
attached to ends.Copyright © 2019 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.