Package org.codehaus.groovy.runtime.m12n
Class ExtensionModuleScanner
- java.lang.Object
-
- org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner
-
public class ExtensionModuleScanner extends Object
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
Nested Classes Modifier and Type Class Description static interface
ExtensionModuleScanner.ExtensionModuleListener
-
Field Summary
Fields Modifier and Type Field Description static String
LEGACY_MODULE_META_INF_FILE
static String
MODULE_META_INF_FILE
-
Constructor Summary
Constructors Constructor Description ExtensionModuleScanner(ExtensionModuleScanner.ExtensionModuleListener listener, ClassLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
scanClasspathModules()
void
scanExtensionModuleFromProperties(Properties properties)
-
-
-
Field Detail
-
LEGACY_MODULE_META_INF_FILE
public static final String LEGACY_MODULE_META_INF_FILE
- See Also:
- Constant Field Values
-
MODULE_META_INF_FILE
public static final String MODULE_META_INF_FILE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExtensionModuleScanner
public ExtensionModuleScanner(ExtensionModuleScanner.ExtensionModuleListener listener, ClassLoader loader)
-
-
Method Detail
-
scanClasspathModules
public void scanClasspathModules()
-
scanExtensionModuleFromProperties
public void scanExtensionModuleFromProperties(Properties properties)
-
-