Class TechnicalObjectAddressInsertedSpout
java.lang.Object
overit.geocall.event.producer.JsonSpout<TechnicalObjectAddressInsertedPublishEvent,DTOTechnicalObjectAddressInsertedSpout>
overit.geocallapp.wfm.locations.spout.address.TechnicalObjectAddressInsertedSpout
- All Implemented Interfaces:
Spout<TechnicalObjectAddressInsertedPublishEvent,DTOTechnicalObjectAddressInsertedSpout, String>
@Event(TechnicalObjectAddressInsertedPublishEvent.class)
@Component
public class TechnicalObjectAddressInsertedSpout
extends JsonSpout<TechnicalObjectAddressInsertedPublishEvent,DTOTechnicalObjectAddressInsertedSpout>
Spout for the event
TechnicalObjectAddressInsertedPublishEvent to publish a
DTOTechnicalObjectAddressInsertedSpout.- Since:
- 21.0
- GCApi:
- spout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExtracts the payload from the given event using the provided PoolKit.
-
Constructor Details
-
TechnicalObjectAddressInsertedSpout
public TechnicalObjectAddressInsertedSpout()
-
-
Method Details
-
getPayload
public DTOTechnicalObjectAddressInsertedSpout getPayload(PoolKit pk, TechnicalObjectAddressInsertedPublishEvent event) 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
-