if ((newData != null) && (newData.length > 0)) {
for (int i = 0; i < newData.length; i++) {
EventBean theEvent = newData[i];
if (theEvent instanceof NaturalEventBean) {
NaturalEventBean natural = (NaturalEventBean) theEvent;
Object[] parameters = deliveryConvertor.convertRow(natural.getNatural());
try {
updateFastMethod.invoke(subscriber, parameters);
}
catch (InvocationTargetException e) {
handle(statementName, log, e, parameters, subscriber, updateFastMethod);
}
catch (Throwable t) {
handleThrowable(log, t, parameters, subscriber, updateFastMethod);
}
}
}
}
if ((updateRStreamFastMethod != null) && (oldData != null) && (oldData.length > 0)) {
for (int i = 0; i < oldData.length; i++) {
EventBean theEvent = oldData[i];
if (theEvent instanceof NaturalEventBean) {
NaturalEventBean natural = (NaturalEventBean) theEvent;
Object[] parameters = deliveryConvertor.convertRow(natural.getNatural());
try {
updateRStreamFastMethod.invoke(subscriber, parameters);
}
catch (InvocationTargetException e) {
handle(statementName, log, e, parameters, subscriber, updateRStreamFastMethod);