Package org.codehaus.groovy.runtime.m12n
Class MetaInfExtensionModule
java.lang.Object
org.codehaus.groovy.runtime.m12n.ExtensionModule
org.codehaus.groovy.runtime.m12n.SimpleExtensionModule
org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule
public class MetaInfExtensionModule extends SimpleExtensionModule
A
SimpleExtensionModule
implementation which reads extension classes
metadata from META-INF.- Since:
- 2.0.0
-
Field Summary
Fields Modifier and Type Field Description static String
MODULE_INSTANCE_CLASSES_KEY
static String
MODULE_STATIC_CLASSES_KEY
-
Method Summary
Modifier and Type Method Description List<Class>
getInstanceMethodsExtensionClasses()
List<Class>
getStaticMethodsExtensionClasses()
static MetaInfExtensionModule
newModule(Properties properties, ClassLoader loader)
Methods inherited from class org.codehaus.groovy.runtime.m12n.ExtensionModule
getName, getVersion, toString
-
Field Details
-
Method Details
-
getInstanceMethodsExtensionClasses
- Specified by:
getInstanceMethodsExtensionClasses
in classSimpleExtensionModule
- Returns:
- the list of classes defining new instance methods.
-
getStaticMethodsExtensionClasses
- Specified by:
getStaticMethodsExtensionClasses
in classSimpleExtensionModule
- Returns:
- the list of classes defining new static methods.
-
newModule
-