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
ASimpleExtensionModule
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
All Methods Static Methods Instance Methods Concrete Methods 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.SimpleExtensionModule
getMetaMethods
-
Methods inherited from class org.codehaus.groovy.runtime.m12n.ExtensionModule
getName, getVersion, toString
-
-
-
-
Field Detail
-
MODULE_INSTANCE_CLASSES_KEY
public static final String MODULE_INSTANCE_CLASSES_KEY
- See Also:
- Constant Field Values
-
MODULE_STATIC_CLASSES_KEY
public static final String MODULE_STATIC_CLASSES_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstanceMethodsExtensionClasses
public List<Class> getInstanceMethodsExtensionClasses()
- Specified by:
getInstanceMethodsExtensionClasses
in classSimpleExtensionModule
- Returns:
- the list of classes defining new instance methods.
-
getStaticMethodsExtensionClasses
public List<Class> getStaticMethodsExtensionClasses()
- Specified by:
getStaticMethodsExtensionClasses
in classSimpleExtensionModule
- Returns:
- the list of classes defining new static methods.
-
newModule
public static MetaInfExtensionModule newModule(Properties properties, ClassLoader loader)
-
-