}
private void handle(ServletContext scontext, URL gadgetsURL)
{
ChromatticLifeCycle lifeCycle = gadgetRegistryService.getChromatticLifeCycle();
lifeCycle.openContext();
try
{
Document docXML = validator.validate(DocumentSource.create(gadgetsURL));
NodeList nodeList = docXML.getElementsByTagName("gadget");
for (int i = 0; i < nodeList.getLength(); i++)