Class RelayToLocal

java.lang.Object
io.naraway.janitor.relay.RelayToLocal
All Implemented Interfaces:
io.naraway.janitor.proxy.Relay

@Component
@Conditional(LocalModeCondition.class)
public class RelayToLocal
extends java.lang.Object
implements io.naraway.janitor.proxy.Relay
  • Constructor Summary

    Constructors
    Constructor Description
    RelayToLocal()  
  • Method Summary

    Modifier and Type Method Description
    void publish​(io.naraway.accent.domain.trail.wrapper.StreamEvent event)  
    void publishAfterRollback​(io.naraway.accent.domain.trail.wrapper.StreamEvent event)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RelayToLocal

      public RelayToLocal()
  • Method Details

    • publish

      @TransactionalEventListener(phase=AFTER_COMMIT) public void publish​(io.naraway.accent.domain.trail.wrapper.StreamEvent event)
      Specified by:
      publish in interface io.naraway.janitor.proxy.Relay
    • publishAfterRollback

      @TransactionalEventListener(phase=AFTER_ROLLBACK) public void publishAfterRollback​(io.naraway.accent.domain.trail.wrapper.StreamEvent event)
      Specified by:
      publishAfterRollback in interface io.naraway.janitor.proxy.Relay