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