}
}
}
// events
EventingInfo eventsInfo = info.getEventing();
if (eventsInfo != null)
{
// produced events are mapped to published events in wsrp
Map<QName, ? extends EventInfo> producedEvents = eventsInfo.getProducedEvents();
if (ParameterValidation.existsAndIsNotEmpty(producedEvents))
{
List<QName> publishedEvents = desc.getPublishedEvents();
for (Map.Entry<QName, ? extends EventInfo> entry : producedEvents.entrySet())
{
publishedEvents.add(entry.getKey());
addEventInfo(entry.getValue(), localeMatch);
}
}
// consumed events -> handled events in wsrp
Map<QName, ? extends EventInfo> consumedEvents = eventsInfo.getConsumedEvents();
if (ParameterValidation.existsAndIsNotEmpty(consumedEvents))
{
List<QName> handledEvents = desc.getHandledEvents();
for (Map.Entry<QName, ? extends EventInfo> entry : consumedEvents.entrySet())
{