@groovy.transform.CompileStatic class FactoriesLoaderSupport extends java.lang.Object
Base functionality for loading grails.factories
Type | Name and description |
---|---|
static java.lang.String |
FACTORIES_RESOURCE_LOCATION The 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) 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) 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#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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 ClassLoaderGroovy Documentation