Groovy 2.2.0

org.codehaus.groovy.runtime.m12n
[Java] 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

Authors:
Cedric Champeau
Since:
2.1.2


Nested Class Summary
static interface ExtensionModuleScanner.ExtensionModuleListener

 
Field Summary
static String MODULE_META_INF_FILE

 
Constructor Summary
ExtensionModuleScanner(ExtensionModuleScanner.ExtensionModuleListener listener, ClassLoader loader)

 
Method Summary
void scanClasspathModules()

void scanExtensionModuleFromProperties(Properties properties)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

MODULE_META_INF_FILE

public static final String MODULE_META_INF_FILE


 
Constructor Detail

ExtensionModuleScanner

public ExtensionModuleScanner(ExtensionModuleScanner.ExtensionModuleListener listener, ClassLoader loader)


 
Method Detail

scanClasspathModules

public void scanClasspathModules()


scanExtensionModuleFromProperties

public void scanExtensionModuleFromProperties(Properties properties)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.