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