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 org.infinispan.spring.common.session.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
ConstructorsConstructorDescriptionRemoteApplicationPublishedBridge(org.infinispan.spring.common.provider.SpringCache eventSource) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessCacheEntryCreated(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event) voidprocessCacheEntryDestroyed(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event) voidprocessCacheEntryExpired(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event) protected org.infinispan.util.KeyValuePair<String,org.springframework.session.Session> readEvent(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event) protected voidvoidMethods inherited from class org.infinispan.spring.common.session.AbstractApplicationPublisherBridge
emitSessionCreatedEvent, emitSessionDeletedEvent, emitSessionDestroyedEvent, emitSessionExpiredEvent, setApplicationEventPublisher
-
Constructor Details
-
RemoteApplicationPublishedBridge
public RemoteApplicationPublishedBridge(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.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event) -
processCacheEntryExpired
public void processCacheEntryExpired(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event) -
processCacheEntryDestroyed
public void processCacheEntryDestroyed(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event) -
readEvent
protected org.infinispan.util.KeyValuePair<String,org.springframework.session.Session> readEvent(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)
-