Package org.jipijapa.event.impl.internal
Class Notification
java.lang.Object
org.jipijapa.event.impl.internal.Notification
Event Notification
- Author:
- Scott Marlow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
Constructor Details
-
Notification
public Notification()
-
-
Method Details
-
add
-
remove
-
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
start cache- Parameters:
cacheType-properties-- Returns:
- an opaque cache wrapper that is later passed to stopCache
- Throws:
Exception
-
addCacheDependencies
add cache dependencies- Parameters:
properties-
-
stopCache
Stop cache- Parameters:
cacheType-wrapper-
-