public class InfinispanCacheDeploymentListener extends Object implements org.jipijapa.event.spi.EventListener
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHE_PRIVATE |
static String |
CACHE_TYPE |
static String |
COLLECTION |
static String |
CONTAINER |
static String |
DEFAULT_CACHE_CONTAINER |
static String |
ENTITY |
static String |
NAME |
static String |
QUERY |
static String |
TIMESTAMPS |
| Constructor and Description |
|---|
InfinispanCacheDeploymentListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCacheDependencies(org.jipijapa.cache.spi.Classification classification,
Properties properties) |
void |
afterEntityManagerFactoryCreate(org.jipijapa.cache.spi.Classification classification,
org.jipijapa.plugin.spi.PersistenceUnitMetadata persistenceUnitMetadata) |
void |
beforeEntityManagerFactoryCreate(org.jipijapa.cache.spi.Classification classification,
org.jipijapa.plugin.spi.PersistenceUnitMetadata persistenceUnitMetadata) |
org.jipijapa.cache.spi.Wrapper |
startCache(org.jipijapa.cache.spi.Classification classification,
Properties properties) |
void |
stopCache(org.jipijapa.cache.spi.Classification classification,
org.jipijapa.cache.spi.Wrapper wrapper,
boolean ignoreStop) |
public static final String CACHE_TYPE
public static final String CACHE_PRIVATE
public static final String CONTAINER
public static final String COLLECTION
public static final String ENTITY
public static final String NAME
public static final String QUERY
public static final String TIMESTAMPS
public static final String DEFAULT_CACHE_CONTAINER
public void beforeEntityManagerFactoryCreate(org.jipijapa.cache.spi.Classification classification,
org.jipijapa.plugin.spi.PersistenceUnitMetadata persistenceUnitMetadata)
beforeEntityManagerFactoryCreate in interface org.jipijapa.event.spi.EventListenerpublic void afterEntityManagerFactoryCreate(org.jipijapa.cache.spi.Classification classification,
org.jipijapa.plugin.spi.PersistenceUnitMetadata persistenceUnitMetadata)
afterEntityManagerFactoryCreate in interface org.jipijapa.event.spi.EventListenerpublic org.jipijapa.cache.spi.Wrapper startCache(org.jipijapa.cache.spi.Classification classification,
Properties properties)
throws Exception
startCache in interface org.jipijapa.event.spi.EventListenerExceptionpublic void addCacheDependencies(org.jipijapa.cache.spi.Classification classification,
Properties properties)
addCacheDependencies in interface org.jipijapa.event.spi.EventListenerpublic void stopCache(org.jipijapa.cache.spi.Classification classification,
org.jipijapa.cache.spi.Wrapper wrapper,
boolean ignoreStop)
stopCache in interface org.jipijapa.event.spi.EventListenerCopyright © 2015 JBoss by Red Hat. All rights reserved.