use of org.jboss.as.ejb3.timerservice.TimerImpl in project wildfly by wildfly.
the class EjbTimerXmlPersister method writeContent.
@Override
public void writeContent(XMLExtendedStreamWriter writer, List<TimerImpl> timers) throws XMLStreamException {
writer.writeStartDocument();
writer.writeStartElement(TIMERS);
writer.writeDefaultNamespace(EjbTimerXmlParser_1_0.NAMESPACE);
for (TimerImpl timer : timers) {
if (timer instanceof CalendarTimer) {
writeCalendarTimer(writer, (CalendarTimer) timer);
} else {
writeTimer(writer, timer);
}
}
writer.writeEndElement();
writer.writeEndDocument();
}
Aggregations