Package org.infinispan.spring.session
Class EmbeddedApplicationPublishedBridge
- java.lang.Object
-
- org.infinispan.spring.session.AbstractApplicationPublisherBridge
-
- org.infinispan.spring.session.EmbeddedApplicationPublishedBridge
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationEventPublisherAware
public class EmbeddedApplicationPublishedBridge extends AbstractApplicationPublisherBridge
A bridge between Infinispan Embedded events and Spring.- Since:
- 9.0
- Author:
- Sebastian Ćaskawiec
-
-
Field Summary
-
Fields inherited from class org.infinispan.spring.session.AbstractApplicationPublisherBridge
eventSource, springEventsPublisher
-
-
Constructor Summary
Constructors Constructor Description EmbeddedApplicationPublishedBridge(SpringCache eventSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processCacheEntryCreated(CacheEntryCreatedEvent event)
void
processCacheEntryDestroyed(CacheEntryRemovedEvent event)
void
processCacheEntryExpired(CacheEntryExpiredEvent event)
protected void
registerListener()
void
unregisterListener()
-
Methods inherited from class org.infinispan.spring.session.AbstractApplicationPublisherBridge
emitSessionCreatedEvent, emitSessionDeletedEvent, emitSessionDestroyedEvent, emitSessionExpiredEvent, setApplicationEventPublisher
-
-
-
-
Constructor Detail
-
EmbeddedApplicationPublishedBridge
public EmbeddedApplicationPublishedBridge(SpringCache eventSource)
-
-
Method Detail
-
registerListener
protected void registerListener()
- Specified by:
registerListener
in classAbstractApplicationPublisherBridge
-
unregisterListener
public void unregisterListener()
- Specified by:
unregisterListener
in classAbstractApplicationPublisherBridge
-
processCacheEntryCreated
public void processCacheEntryCreated(CacheEntryCreatedEvent event)
-
processCacheEntryExpired
public void processCacheEntryExpired(CacheEntryExpiredEvent event)
-
processCacheEntryDestroyed
public void processCacheEntryDestroyed(CacheEntryRemovedEvent event)
-
-