@CompileStatic class FactoriesLoaderSupport extends Object
Base functionality for loading grails.factories
| Type | Name and description |
|---|---|
static String |
FACTORIES_RESOURCE_LOCATIONThe location to look for the factories. |
| Constructor and description |
|---|
FactoriesLoaderSupport() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static String[] |
loadFactoryNames(Class<?> factoryClass, ClassLoader classLoader)Loads the names of the classes from grails.factories without loading the classes themselves |
|
static String[] |
loadFactoryNames(String factoryClassName, ClassLoader classLoader)Loads the names of the classes from grails.factories without loading the classes themselves |
The location to look for the factories. Can be present in multiple JAR files.
Loads the names of the classes from grails.factories without loading the classes themselves
factoryClass - The factory classclassLoader - The ClassLoaderLoads the names of the classes from grails.factories without loading the classes themselves
factoryClass - The factory classclassLoader - The ClassLoader