Interface EventBusMessageCreator


public interface EventBusMessageCreator
Factory interface for creating EventBusMessage instances from event source objects.
Since:
21
Author:
渔民小镇
date:
2023-12-24
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Object eventSource)
    Create an EventBusMessage from the given event source.
  • Method Details

    • create

      EventBusMessage create(Object eventSource)
      Create an EventBusMessage from the given event source.
      Parameters:
      eventSource - the event source object
      Returns:
      a new EventBusMessage wrapping the event source