{
Handler[] handlers = getConfiguredContextHandlers();
JettyPluginServer plugin=getServer();
Server server=(Server)plugin.getProxiedObject();
HandlerCollection contexts = (HandlerCollection)server.getChildHandlerByClass(ContextHandlerCollection.class);
if (contexts==null)
contexts = (HandlerCollection)server.getChildHandlerByClass(HandlerCollection.class);
for (int i=0; (handlers != null) && (i < handlers.length); i++)
{
contexts.addHandler(handlers[i]);
}
}