Map<DefType, String> defaultPrefixes, Format format, Authentication access,
JsonSerializationContext jsonContext,
Map<ValueProviderType, GlobalValueProvider> globalProviders,
DefDescriptor<? extends BaseComponentDef> appDesc,
boolean isDebugToolEnabled) {
AuraContext context = new AuraContextImpl(mode, masterRegistry, defaultPrefixes, format, access, jsonContext,
globalProviders, isDebugToolEnabled);
currentContext.set(context);
context.setApplicationDescriptor(appDesc);
return context;
}