Class TenantConfigChangeSpoutImpl

java.lang.Object
overit.geocall.event.producer.JsonSpout<CompanyConfigChangeEvent,TenantConfigChange>
overit.geocall.basic.bl.config.spout.TenantConfigChangeSpoutImpl
All Implemented Interfaces:
Spout<CompanyConfigChangeEvent,TenantConfigChange,String>

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

    • TenantConfigChangeSpoutImpl

      public TenantConfigChangeSpoutImpl()
  • Method Details

    • getPayload

      public TenantConfigChange getPayload(PoolKit pk, CompanyConfigChangeEvent 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