Class SystemConfigChangeSpoutImpl

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

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

    • SystemConfigChangeSpoutImpl

      public SystemConfigChangeSpoutImpl()
  • Method Details

    • getPayload

      public ConfigChange getPayload(PoolKit pk, SystemConfigChangeEvent 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