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)
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 - Exceptionpublic static void addCacheDependencies(Classification cacheType, Properties properties)
properties - public static void stopCache(Classification cacheType, Wrapper wrapper)
cacheType - wrapper - Copyright © 2019 JBoss by Red Hat. All rights reserved.