public class ResultDeliveryStrategyImpl extends java.lang.Object implements ResultDeliveryStrategy
Constructor and Description |
---|
ResultDeliveryStrategyImpl(java.lang.String statementName,
java.lang.Object subscriber,
DeliveryConvertor deliveryConvertor,
java.lang.reflect.Method method,
java.lang.reflect.Method startMethod,
java.lang.reflect.Method endMethod,
java.lang.reflect.Method rStreamMethod)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(UniformPair<EventBean[]> result)
Execute the dispatch.
|
public ResultDeliveryStrategyImpl(java.lang.String statementName, java.lang.Object subscriber, DeliveryConvertor deliveryConvertor, java.lang.reflect.Method method, java.lang.reflect.Method startMethod, java.lang.reflect.Method endMethod, java.lang.reflect.Method rStreamMethod)
subscriber
- is the subscriber receiving method invocationsdeliveryConvertor
- for converting individual rowsmethod
- to deliver the insert stream tostartMethod
- to call to indicate when delivery starts, or null if no such indication is requiredendMethod
- to call to indicate when delivery ends, or null if no such indication is requiredrStreamMethod
- to deliver the remove stream to, or null if no such indication is requiredpublic void execute(UniformPair<EventBean[]> result)
ResultDeliveryStrategy
execute
in interface ResultDeliveryStrategy
result
- is the insert and remove stream to indicate