DefinitionService definitionService = Aura.getDefinitionService();
InstanceService instanceService = Aura.getInstanceService();
DefDescriptor<ComponentDef> tmplDesc = definitionService
.getDefDescriptor("ui:manifest", ComponentDef.class);
Component tmpl = instanceService.getInstance(tmplDesc, attribs);
Aura.getRenderingService().render(tmpl, response.getWriter());
} catch (Exception e) {
Aura.getExceptionAdapter().handleException(e);
// Can't throw exception here: to set manifest OBSOLETE
response.setStatus(HttpServletResponse.SC_NOT_FOUND);