DefType.MODEL, DefDescriptor.JAVA_PREFIX));
regBuild.add(createDefRegistry(new JavaProviderDefFactory(javaLoaders), DefType.PROVIDER,
DefDescriptor.JAVA_PREFIX));
regBuild.add(createDefRegistry(new JavaThemeDescriptorProviderDefFactory(javaLoaders),
DefType.THEME_PROVIDER, DefDescriptor.JAVA_PREFIX));
regBuild.add(createDefRegistry(new JavaThemeMapProviderDefFactory(javaLoaders),
DefType.THEME_MAP_PROVIDER, DefDescriptor.JAVA_PREFIX));
}
ret = regBuild.toArray(new DefRegistry<?>[regBuild.size()]);
if (registries == null && !mode.isTestMode()) {