try {
handle = WebAppContextUtils.enteringContext(this.webAppContext);
// invoke listeners
// only invoke if pipeline is not internally
if (!context.isBuildingPipelineOnly()) {
final EnterSitemapEvent enterEvent = new EnterSitemapEvent(this, environment);
final Iterator i = this.enterSitemapEventListeners.iterator();
while (i.hasNext()) {
final EnterSitemapEventListener current = (EnterSitemapEventListener) i.next();
current.enteredSitemap(enterEvent);
}