Class DomainEventProducerListener

  • All Implemented Interfaces:
    javax.transaction.Synchronization, EventListener

    public class DomainEventProducerListener
    extends Object
    implements EventListener, javax.transaction.Synchronization
    Dispatches core events to domain event producers.
    Since:
    11.4
    • Constructor Detail

      • DomainEventProducerListener

        public DomainEventProducerListener()
    • Method Detail

      • initDomainEventProducers

        protected void initDomainEventProducers()
      • cleanDomainEventProducers

        protected void cleanDomainEventProducers()
      • beforeCompletion

        public void beforeCompletion()
        Specified by:
        beforeCompletion in interface javax.transaction.Synchronization
      • afterCompletion

        public void afterCompletion​(int status)
        Specified by:
        afterCompletion in interface javax.transaction.Synchronization
      • produceDomainEvents

        protected void produceDomainEvents()
      • registerSynchronization

        protected boolean registerSynchronization​(javax.transaction.Synchronization sync)
                                           throws javax.transaction.RollbackException
        Throws:
        javax.transaction.RollbackException