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,
boolean skipStop)
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
- Exception
void addCacheDependencies(Classification cacheType, Properties properties)
cacheType
- properties
- void stopCache(Classification cacheType, Wrapper wrapper, boolean skipStop)
cacheType
- wrapper
- skipStop
- will be true if the cache shouldn't be stoppedCopyright © 2018 Red Hat. All rights reserved.