You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Grzegorz Kossakowski <gr...@tuffmail.com> on 2009/03/15 23:19:18 UTC

[C3] What's the use of SitemapDelegator class?

Hello,

I've stumbled across rather mysterious class called SitemapDelegator. It has some Thread local variable and is used in
two lines of XMLSitemapServlet only:
(99)    SitemapDelegator.setSitemapServlet(this);
...
(166)   SitemapDelegator.removeSitemapServlet();

I've tried to find some possible AOP magic using it but failed to find anything.

Why this class is needed?

-- 
Best regards,
Grzegorz Kossakowski