Class CompanyUpdateEventSpoutImpl

java.lang.Object
overit.geocall.event.producer.JsonSpout<CompanyUpdateEvent,CompanyUpdate>
overit.geocall.basic.bl.company.spout.CompanyUpdateEventSpoutImpl
All Implemented Interfaces:
Spout<CompanyUpdateEvent,CompanyUpdate,String>

@Event(CompanyUpdateEvent.class) @Component public class CompanyUpdateEventSpoutImpl extends JsonSpout<CompanyUpdateEvent,CompanyUpdate>
Spout for the event CompanyUpdateEvent to serialize a BOCompany into CompanyUpdate.
GCApi:
spout
  • Constructor Details

    • CompanyUpdateEventSpoutImpl

      public CompanyUpdateEventSpoutImpl(M2Mapper m2Mapper)
  • Method Details

    • getPayload

      public CompanyUpdate getPayload(PoolKit pk, CompanyUpdateEvent 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