public class Notification extends Object
Constructor and Description |
---|
Notification() |
Modifier and Type | Method and Description |
---|---|
static void |
add(EventListener eventListener) |
static void |
addCacheDependencies(Classification cacheType,
Properties properties)
add cache dependencies
|
static void |
afterEntityManagerFactoryCreate(Classification cacheType,
PersistenceUnitMetadata persistenceUnitMetadata)
called after call to PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnit, Map)
|
static void |
beforeEntityManagerFactoryCreate(Classification cacheType,
PersistenceUnitMetadata persistenceUnitMetadata)
called before call to PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnit, Map)
|
static void |
remove(EventListener eventListener) |
static Wrapper |
startCache(Classification cacheType,
Properties properties)
start cache
|
static void |
stopCache(Classification cacheType,
Wrapper wrapper,
boolean skipStop)
Stop cache
|
public static void add(EventListener eventListener)
public static void remove(EventListener eventListener)
public static void beforeEntityManagerFactoryCreate(Classification cacheType, PersistenceUnitMetadata persistenceUnitMetadata)
persistenceUnitMetadata
- public static void afterEntityManagerFactoryCreate(Classification cacheType, PersistenceUnitMetadata persistenceUnitMetadata)
persistenceUnitMetadata
- public static Wrapper startCache(Classification cacheType, Properties properties) throws Exception
cacheType
- properties
- Exception
public static void addCacheDependencies(Classification cacheType, Properties properties)
properties
- public static void stopCache(Classification cacheType, Wrapper wrapper, boolean skipStop)
wrapper
- skipStop
- will be true if the cache shouldn't be stoppedCopyright © 2017 Red Hat. All rights reserved.