Class AbstractApplicationPublisherBridge

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware
    Direct Known Subclasses:
    EmbeddedApplicationPublishedBridge, RemoteApplicationPublishedBridge

    public abstract class AbstractApplicationPublisherBridge
    extends java.lang.Object
    implements org.springframework.context.ApplicationEventPublisherAware
    A bridge for passing events between Infinispan (both embedded and remote) and Spring.
    Since:
    9.0
    Author:
    Sebastian Ɓaskawiec
    • Field Detail

      • springEventsPublisher

        protected java.util.Optional<org.springframework.context.ApplicationEventPublisher> springEventsPublisher
    • Constructor Detail

      • AbstractApplicationPublisherBridge

        protected AbstractApplicationPublisherBridge​(SpringCache eventSource)
    • Method Detail

      • registerListener

        protected abstract void registerListener()
      • unregisterListener

        public abstract void unregisterListener()
      • emitSessionCreatedEvent

        protected void emitSessionCreatedEvent​(java.lang.String sessionId)
      • emitSessionExpiredEvent

        protected void emitSessionExpiredEvent​(java.lang.String sessionId)
      • emitSessionDestroyedEvent

        protected void emitSessionDestroyedEvent​(java.lang.String sessionId)
      • emitSessionDeletedEvent

        protected void emitSessionDeletedEvent​(java.lang.String sessionId)
      • setApplicationEventPublisher

        public void setApplicationEventPublisher​(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
        Specified by:
        setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware