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