Class LoginSpoutImpl

java.lang.Object
overit.geocall.event.producer.JsonSpout<LoginEvent,Login>
overit.geocall.basic.bl.accounting.spout.LoginSpoutImpl
All Implemented Interfaces:
Spout<LoginEvent,Login,String>

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

    • LoginSpoutImpl

      public LoginSpoutImpl()
  • Method Details

    • getPayload

      public Login getPayload(PoolKit pk, LoginEvent 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