Constructor and Description |
---|
FactoryUtil() |
Modifier and Type | Method and Description |
---|---|
static <T extends Factory> |
discoverFactory(ClassLoader classLoader,
Class<T> factoryClass,
String identifier)
Discovers a factory using the given factory base class and identifier.
|
static <T extends Factory> |
discoverIdentifiers(ClassLoader classLoader,
Class<T> factoryClass) |
public static <T extends Factory> T discoverFactory(ClassLoader classLoader, Class<T> factoryClass, String identifier)
public static <T extends Factory> List<String> discoverIdentifiers(ClassLoader classLoader, Class<T> factoryClass)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.