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
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processCacheEntryCreated
(ClientCacheEntryCustomEvent<byte[]> event) void
processCacheEntryDestroyed
(ClientCacheEntryCustomEvent<byte[]> event) void
processCacheEntryExpired
(ClientCacheEntryCustomEvent<byte[]> event) protected KeyValuePair<String,
org.springframework.session.Session> readEvent
(ClientCacheEntryCustomEvent<byte[]> event) protected void
void
Methods inherited from class org.infinispan.spring.common.session.AbstractApplicationPublisherBridge
emitSessionCreatedEvent, emitSessionDeletedEvent, emitSessionDestroyedEvent, emitSessionExpiredEvent, setApplicationEventPublisher
-
Constructor Details
-
RemoteApplicationPublishedBridge
-
-
Method Details
-
registerListener
protected void registerListener()- Specified by:
registerListener
in classAbstractApplicationPublisherBridge
-
unregisterListener
public void unregisterListener()- Specified by:
unregisterListener
in classAbstractApplicationPublisherBridge
-
processCacheEntryCreated
-
processCacheEntryExpired
-
processCacheEntryDestroyed
-
readEvent
protected KeyValuePair<String,org.springframework.session.Session> readEvent(ClientCacheEntryCustomEvent<byte[]> event)
-