Package org.jipijapa.event.impl.internal
Class Notification
- java.lang.Object
-
- org.jipijapa.event.impl.internal.Notification
-
public class Notification extends Object
Event Notification- Author:
- Scott Marlow
-
-
Constructor Summary
Constructors Constructor Description Notification()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidadd(EventListener eventListener)static voidaddCacheDependencies(Classification cacheType, Properties properties)add cache dependenciesstatic voidafterEntityManagerFactoryCreate(Classification cacheType, PersistenceUnitMetadata persistenceUnitMetadata)called after call to PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnit, Map)static voidbeforeEntityManagerFactoryCreate(Classification cacheType, PersistenceUnitMetadata persistenceUnitMetadata)called before call to PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnit, Map)static voidremove(EventListener eventListener)static WrapperstartCache(Classification cacheType, Properties properties)start cachestatic voidstopCache(Classification cacheType, Wrapper wrapper)Stop cache
-
-
-
Method Detail
-
add
public static void add(EventListener eventListener)
-
remove
public static void remove(EventListener eventListener)
-
beforeEntityManagerFactoryCreate
public static void beforeEntityManagerFactoryCreate(Classification cacheType, PersistenceUnitMetadata persistenceUnitMetadata)
called before call to PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnit, Map)- Parameters:
persistenceUnitMetadata-
-
afterEntityManagerFactoryCreate
public static void afterEntityManagerFactoryCreate(Classification cacheType, PersistenceUnitMetadata persistenceUnitMetadata)
called after call to PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnit, Map)- Parameters:
persistenceUnitMetadata-
-
startCache
public static Wrapper startCache(Classification cacheType, Properties properties) throws Exception
start cache- Parameters:
cacheType-properties-- Returns:
- an opaque cache wrapper that is later passed to stopCache
- Throws:
Exception
-
addCacheDependencies
public static void addCacheDependencies(Classification cacheType, Properties properties)
add cache dependencies- Parameters:
properties-
-
stopCache
public static void stopCache(Classification cacheType, Wrapper wrapper)
Stop cache- Parameters:
cacheType-wrapper-
-
-