Class UserTypeUpdateEventSpoutImpl

java.lang.Object
overit.geocall.event.producer.JsonSpout<UserTypeUpdateEvent,UserType>
overit.geocall.basic.bl.usertype.spout.UserTypeUpdateEventSpoutImpl
All Implemented Interfaces:
Spout<UserTypeUpdateEvent,UserType,String>

@Event(UserTypeUpdateEvent.class) @Component public class UserTypeUpdateEventSpoutImpl extends JsonSpout<UserTypeUpdateEvent,UserType>
Spout for the event UserTypeUpdateEvent to serialize a BOUserType into UserType.
GCApi:
spout
  • Constructor Details

    • UserTypeUpdateEventSpoutImpl

      public UserTypeUpdateEventSpoutImpl(M2Mapper m2Mapper)
  • Method Details

    • getPayload

      public UserType getPayload(PoolKit pk, UserTypeUpdateEvent 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