Class EmbeddedApplicationPublishedBridge
java.lang.Object
org.infinispan.spring.common.session.AbstractApplicationPublisherBridge
org.infinispan.spring.embedded.session.EmbeddedApplicationPublishedBridge
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationEventPublisherAware
public class EmbeddedApplicationPublishedBridge
extends org.infinispan.spring.common.session.AbstractApplicationPublisherBridge
A bridge between Infinispan Embedded events and Spring.
- Since:
- 9.0
- Author:
- Sebastian Ćaskawiec
-
Field Summary
Fields inherited from class org.infinispan.spring.common.session.AbstractApplicationPublisherBridge
eventSource, springEventsPublisher -
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedApplicationPublishedBridge(org.infinispan.spring.common.provider.SpringCache eventSource) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessCacheEntryCreated(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent event) voidprocessCacheEntryDestroyed(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent event) voidprocessCacheEntryExpired(org.infinispan.notifications.cachelistener.event.CacheEntryExpiredEvent event) protected voidvoidMethods inherited from class org.infinispan.spring.common.session.AbstractApplicationPublisherBridge
emitSessionCreatedEvent, emitSessionDeletedEvent, emitSessionDestroyedEvent, emitSessionExpiredEvent, setApplicationEventPublisher
-
Constructor Details
-
EmbeddedApplicationPublishedBridge
public EmbeddedApplicationPublishedBridge(org.infinispan.spring.common.provider.SpringCache eventSource)
-
-
Method Details
-
registerListener
protected void registerListener()- Specified by:
registerListenerin classorg.infinispan.spring.common.session.AbstractApplicationPublisherBridge
-
unregisterListener
public void unregisterListener()- Specified by:
unregisterListenerin classorg.infinispan.spring.common.session.AbstractApplicationPublisherBridge
-
processCacheEntryCreated
public void processCacheEntryCreated(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent event) -
processCacheEntryExpired
public void processCacheEntryExpired(org.infinispan.notifications.cachelistener.event.CacheEntryExpiredEvent event) -
processCacheEntryDestroyed
public void processCacheEntryDestroyed(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent event)
-