[Java] Class ExtensionModuleScanner
- org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner
A module extension scanner is responsible for searching classpath modules, loading metadata from module descriptors, then perform custom tasks for each module. This class was introduced as a fix for GROOVY-6008
- Since:
- 2.1.2
Nested Class Summary
Modifiers | Name | Description |
---|---|---|
interface | ExtensionModuleScanner.ExtensionModuleListener |
Field Summary
Modifiers | Name | Description |
---|---|---|
static String | LEGACY_MODULE_META_INF_FILE | |
static String | MODULE_META_INF_FILE |
Constructor Summary
Constructor and description |
---|
ExtensionModuleScanner
(ExtensionModuleScanner.ExtensionModuleListener listener, ClassLoader loader) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
void |
scanClasspathModules() | |
void |
scanExtensionModuleFromProperties(Properties properties) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
public static final String LEGACY_MODULE_META_INF_FILE
public static final String MODULE_META_INF_FILE
Constructor Detail
public ExtensionModuleScanner(ExtensionModuleScanner.ExtensionModuleListener listener, ClassLoader loader)
Method Detail
public void scanClasspathModules()
public void scanExtensionModuleFromProperties(Properties properties)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/runtime/m12n/ExtensionModuleScanner.html