Class LoggingConfigChangeSpoutImpl

java.lang.Object
overit.geocall.event.producer.JsonSpout<LoggingConfigChangeEvent,ConfigChange>
overit.geocall.basic.bl.config.spout.LoggingConfigChangeSpoutImpl
All Implemented Interfaces:
Spout<LoggingConfigChangeEvent,ConfigChange,String>

@Event(LoggingConfigChangeEvent.class) @Component public class LoggingConfigChangeSpoutImpl extends JsonSpout<LoggingConfigChangeEvent,ConfigChange>
Spout for the event LoggingConfigChangeEvent to serialize the event into ConfigChange.
GCApi:
spout
  • Constructor Details

    • LoggingConfigChangeSpoutImpl

      public LoggingConfigChangeSpoutImpl()
  • Method Details

    • getPayload

      public ConfigChange getPayload(PoolKit pk, LoggingConfigChangeEvent event)
      Description copied from interface: Spout
      Extracts the payload from the given event using the provided PoolKit.
      Parameters:
      pk - the PoolKit instance used for database operations
      event - the event from which to extract the payload
      Returns:
      the extracted payload of type P