Class RemoteApplicationPublishedBridge
- java.lang.Object
-
- org.infinispan.spring.common.session.AbstractApplicationPublisherBridge
-
- org.infinispan.spring.remote.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, Katia Aresti, karesti@redhat.com
-
-
Field Summary
-
Fields inherited from class org.infinispan.spring.common.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 voidprocessCacheEntryCreated(ClientCacheEntryCustomEvent<byte[]> event)voidprocessCacheEntryDestroyed(ClientCacheEntryCustomEvent<byte[]> event)voidprocessCacheEntryExpired(ClientCacheEntryCustomEvent<byte[]> event)protected KeyValuePair<java.lang.String,org.springframework.session.Session>readEvent(ClientCacheEntryCustomEvent<byte[]> event)protected voidregisterListener()voidunregisterListener()-
Methods inherited from class org.infinispan.spring.common.session.AbstractApplicationPublisherBridge
emitSessionCreatedEvent, emitSessionDeletedEvent, emitSessionDestroyedEvent, emitSessionExpiredEvent, setApplicationEventPublisher
-
-
-
-
Constructor Detail
-
RemoteApplicationPublishedBridge
public RemoteApplicationPublishedBridge(SpringCache eventSource)
-
-
Method Detail
-
registerListener
protected void registerListener()
- Specified by:
registerListenerin classAbstractApplicationPublisherBridge
-
unregisterListener
public void unregisterListener()
- Specified by:
unregisterListenerin classAbstractApplicationPublisherBridge
-
processCacheEntryCreated
public void processCacheEntryCreated(ClientCacheEntryCustomEvent<byte[]> event)
-
processCacheEntryExpired
public void processCacheEntryExpired(ClientCacheEntryCustomEvent<byte[]> event)
-
processCacheEntryDestroyed
public void processCacheEntryDestroyed(ClientCacheEntryCustomEvent<byte[]> event)
-
readEvent
protected KeyValuePair<java.lang.String,org.springframework.session.Session> readEvent(ClientCacheEntryCustomEvent<byte[]> event)
-
-