*/
private List<ProviderFactory> loadProviderFactories(Class<?> factoryClass) {
// Get the provider factory service declarations
Set<ServiceDeclaration> factoryDeclarations;
ServiceDiscovery serviceDiscovery = ServiceDiscovery.getInstance();
try {
factoryDeclarations = serviceDiscovery.getServiceDeclarations(factoryClass);
} catch (Exception e) {
throw new IllegalStateException(e);
}
// Get the target extension point