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