Package org.infinispan.spring.session
Class RemoteApplicationPublishedBridge
- java.lang.Object
-
- org.infinispan.spring.session.AbstractApplicationPublisherBridge
-
- org.infinispan.spring.session.RemoteApplicationPublishedBridge
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationEventPublisherAware
public class RemoteApplicationPublishedBridge extends AbstractApplicationPublisherBridge
A bridge between Infinispan Remote 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 RemoteApplicationPublishedBridge(SpringCache eventSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processCacheEntryCreated(org.infinispan.client.hotrod.event.ClientCacheEntryCreatedEvent event)
void
processCacheEntryDestroyed(org.infinispan.client.hotrod.event.ClientCacheEntryRemovedEvent event)
void
processCacheEntryExpired(org.infinispan.client.hotrod.event.ClientCacheEntryExpiredEvent event)
protected void
registerListener()
void
unregisterListener()
-
Methods inherited from class org.infinispan.spring.session.AbstractApplicationPublisherBridge
emitSessionCreatedEvent, emitSessionDeletedEvent, emitSessionDestroyedEvent, emitSessionExpiredEvent, setApplicationEventPublisher
-
-
-
-
Constructor Detail
-
RemoteApplicationPublishedBridge
public RemoteApplicationPublishedBridge(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(org.infinispan.client.hotrod.event.ClientCacheEntryCreatedEvent event)
-
processCacheEntryExpired
public void processCacheEntryExpired(org.infinispan.client.hotrod.event.ClientCacheEntryExpiredEvent event)
-
processCacheEntryDestroyed
public void processCacheEntryDestroyed(org.infinispan.client.hotrod.event.ClientCacheEntryRemovedEvent event)
-
-