Package org.codehaus.groovy.runtime.m12n
Class StandardPropertiesModuleFactory
- java.lang.Object
-
- org.codehaus.groovy.runtime.m12n.PropertiesModuleFactory
-
- org.codehaus.groovy.runtime.m12n.StandardPropertiesModuleFactory
-
public class StandardPropertiesModuleFactory extends PropertiesModuleFactory
This is the standard Groovy module factory. This factory will build a module using theMetaInfExtensionModule
by default, unless a key named "moduleFactory" is found in the properties file. If this is the case, then a new factory is instantiated and used instead of this factory.
-
-
Field Summary
Fields Modifier and Type Field Description static String
MODULE_FACTORY_KEY
-
Fields inherited from class org.codehaus.groovy.runtime.m12n.PropertiesModuleFactory
MODULE_NAME_KEY, MODULE_VERSION_KEY
-
-
Constructor Summary
Constructors Constructor Description StandardPropertiesModuleFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionModule
newModule(Properties properties, ClassLoader classLoader)
-
-
-
Field Detail
-
MODULE_FACTORY_KEY
public static final String MODULE_FACTORY_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
newModule
public ExtensionModule newModule(Properties properties, ClassLoader classLoader)
- Specified by:
newModule
in classPropertiesModuleFactory
-
-