pushParams.get("method").textValue());
ac = AnnotationUtil.get(res.getDestination().getClass());
for (final AnnotatedMethod method : ac
.getMethods(res.getMethodName())) {
final EventTriggered annotation = method
.getAnnotation(EventTriggered.class);
if (annotation != null) {
// If no Event param, get it from annotation, else
// use default.
event = annotation.value();
}
}
} catch (final Exception e) {
LOG.log(Level.WARNING, "", e);
}