@groovy.transform.CompileStatic class FactoriesLoaderSupport extends java.lang.Object
Base functionality for loading grails.factories
| Type | Name and description |
|---|---|
static java.lang.String |
CLI_FACTORIES_RESOURCE_LOCATIONThe location to look for CLI command registrations. |
static java.lang.String |
FACTORIES_RESOURCE_LOCATIONThe location to look for the factories. |
| Constructor and description |
|---|
FactoriesLoaderSupport() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static java.lang.String[] |
loadFactoryNames(java.lang.Class<?> factoryClass, java.lang.ClassLoader classLoader, java.lang.String resourceLocation)Loads the names of the classes from grails.factories without loading the classes themselves |
|
static java.lang.String[] |
loadFactoryNames(java.lang.String factoryClassName, java.lang.ClassLoader classLoader, java.lang.String resourceLocation)Loads the names of the classes from grails.factories without loading the classes themselves |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
The location to look for CLI command registrations. Can be present in multiple JAR files.
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