@Singleton @Requires(classes=org.hibernate.cache.jcache.ConfigSettings.class) @Requires(beans=javax.cache.CacheManager.class) public class HibernateJCacheManagerBinder extends java.lang.Object implements io.micronaut.context.event.BeanCreatedEventListener<JpaConfiguration>
CacheManager
to Hibernate.Constructor and Description |
---|
HibernateJCacheManagerBinder(javax.cache.CacheManager cacheManager)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
JpaConfiguration |
onCreated(io.micronaut.context.event.BeanCreatedEvent<JpaConfiguration> event) |
public HibernateJCacheManagerBinder(javax.cache.CacheManager cacheManager)
cacheManager
- The cache managerpublic JpaConfiguration onCreated(io.micronaut.context.event.BeanCreatedEvent<JpaConfiguration> event)
onCreated
in interface io.micronaut.context.event.BeanCreatedEventListener<JpaConfiguration>