} else if (endpointDefinition.getTraceState() == SynapseConstants.TRACING_OFF) {
element.addAttribute(fac.createOMAttribute(XMLConfigConstants.TRACE_ATTRIB_NAME,
null, XMLConfigConstants.TRACE_DISABLE));
}
StatisticsConfigurable statisticsConfigurable =
endpointDefinition.getAspectConfiguration();
if (statisticsConfigurable != null &&
statisticsConfigurable.isStatisticsEnable()) {
element.addAttribute(fac.createOMAttribute(
XMLConfigConstants.STATISTICS_ATTRIB_NAME, null,
XMLConfigConstants.STATISTICS_ENABLE));
}