public class CacheDeploymentListener extends Object implements org.jipijapa.event.spi.EventListener
Constructor and Description |
---|
CacheDeploymentListener() |
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) |
static void |
clearInternalDeploymentServiceBuilder() |
static org.jboss.msc.service.ServiceBuilder |
getInternalDeploymentServiceBuilder() |
static void |
setInternalDeploymentServiceBuilder(org.jboss.msc.service.ServiceBuilder serviceBuilder) |
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 skipStop) |
public static void setInternalDeploymentServiceBuilder(org.jboss.msc.service.ServiceBuilder serviceBuilder)
public static void clearInternalDeploymentServiceBuilder()
public static org.jboss.msc.service.ServiceBuilder getInternalDeploymentServiceBuilder()
public void beforeEntityManagerFactoryCreate(org.jipijapa.cache.spi.Classification classification, org.jipijapa.plugin.spi.PersistenceUnitMetadata persistenceUnitMetadata)
beforeEntityManagerFactoryCreate
in interface org.jipijapa.event.spi.EventListener
public void afterEntityManagerFactoryCreate(org.jipijapa.cache.spi.Classification classification, org.jipijapa.plugin.spi.PersistenceUnitMetadata persistenceUnitMetadata)
afterEntityManagerFactoryCreate
in interface org.jipijapa.event.spi.EventListener
public org.jipijapa.cache.spi.Wrapper startCache(org.jipijapa.cache.spi.Classification classification, Properties properties) throws Exception
startCache
in interface org.jipijapa.event.spi.EventListener
Exception
public void addCacheDependencies(org.jipijapa.cache.spi.Classification classification, Properties properties)
addCacheDependencies
in interface org.jipijapa.event.spi.EventListener
public void stopCache(org.jipijapa.cache.spi.Classification classification, org.jipijapa.cache.spi.Wrapper wrapper, boolean skipStop)
stopCache
in interface org.jipijapa.event.spi.EventListener
Copyright © 2014 JBoss by Red Hat. All rights reserved.