Class UserUpdateEventSpoutImpl
java.lang.Object
overit.geocall.event.producer.JsonSpout<UpdateUserEvent,User>
overit.geocall.basic.bl.user.spout.UserUpdateEventSpoutImpl
- All Implemented Interfaces:
Spout<UpdateUserEvent,User, String>
@Event(UpdateUserEvent.class)
@Component
public class UserUpdateEventSpoutImpl
extends JsonSpout<UpdateUserEvent,User>
- GCApi:
- spout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPayload(PoolKit pk, UpdateUserEvent event) Extracts the payload from the given event using the provided PoolKit.
-
Constructor Details
-
UserUpdateEventSpoutImpl
-
-
Method Details
-
getPayload
Description copied from interface:SpoutExtracts the payload from the given event using the provided PoolKit.- Parameters:
pk- the PoolKit instance used for database operationsevent- the event from which to extract the payload- Returns:
- the extracted payload of type P
-