public interface EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
addCacheDependencies(Classification cacheType,
Properties properties)
add dependencies on a cache
|
void |
afterEntityManagerFactoryCreate(Classification cacheType,
PersistenceUnitMetadata persistenceUnitMetadata)
called after call to PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnit, Map)
|
void |
beforeEntityManagerFactoryCreate(Classification cacheType,
PersistenceUnitMetadata persistenceUnitMetadata)
called before call to PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnit, Map)
|
Wrapper |
startCache(Classification cacheType,
Properties properties)
start cache
|
void |
stopCache(Classification cacheType,
Wrapper wrapper)
Stop cache
|
void beforeEntityManagerFactoryCreate(Classification cacheType, PersistenceUnitMetadata persistenceUnitMetadata)
cacheType - persistenceUnitMetadata - void afterEntityManagerFactoryCreate(Classification cacheType, PersistenceUnitMetadata persistenceUnitMetadata)
persistenceUnitMetadata - Wrapper startCache(Classification cacheType, Properties properties) throws Exception
cacheType - properties - Exceptionvoid addCacheDependencies(Classification cacheType, Properties properties)
cacheType - properties - void stopCache(Classification cacheType, Wrapper wrapper)
cacheType - wrapper - Copyright © 2020 JBoss by Red Hat. All rights reserved.