Class CompanyCreateEventSpoutImpl
java.lang.Object
overit.geocall.event.producer.JsonSpout<CompanyCreateEvent,CompanyCreate>
overit.geocall.basic.bl.company.spout.CompanyCreateEventSpoutImpl
- All Implemented Interfaces:
Spout<CompanyCreateEvent,CompanyCreate, String>
@Event(CompanyCreateEvent.class)
@Component
public class CompanyCreateEventSpoutImpl
extends JsonSpout<CompanyCreateEvent,CompanyCreate>
- GCApi:
- spout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPayload(PoolKit pk, CompanyCreateEvent event) Extracts the payload from the given event using the provided PoolKit.
-
Constructor Details
-
CompanyCreateEventSpoutImpl
-
-
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
-