writer.writeStartElement("service");
this.writeBean(writer, service);
writer.writeEndElement();
}
}
SessionRegistry sessionRegistry = AppContext.getSessionRegistry();
writer.writeStartElement("sessions");
Session[] sessions = sessionRegistry.getSessions();
int simulation = this.getParameterInt(request, "sim", 0);
if (simulation > 0) {
Session[] sim = new Session[simulation + sessions.length];
System.arraycopy(sessions, 0, sim, 0, sessions.length);
for (int i = sessions.length; i < simulation; i++) {