org.codehaus.groovy.runtime.m12n
Class StandardPropertiesModuleFactory

java.lang.Object
  extended by org.codehaus.groovy.runtime.m12n.PropertiesModuleFactory
      extended by 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 the MetaInfExtensionModule by default, unless a key named "factory" 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
static java.lang.String MODULE_FACTORY_KEY
           
 
Fields inherited from class org.codehaus.groovy.runtime.m12n.PropertiesModuleFactory
MODULE_NAME_KEY, MODULE_VERSION_KEY
 
Constructor Summary
StandardPropertiesModuleFactory()
           
 
Method Summary
 ExtensionModule newModule(java.util.Properties properties, java.lang.ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE_FACTORY_KEY

public static final java.lang.String MODULE_FACTORY_KEY
See Also:
Constant Field Values
Constructor Detail

StandardPropertiesModuleFactory

public StandardPropertiesModuleFactory()
Method Detail

newModule

public ExtensionModule newModule(java.util.Properties properties,
                                 java.lang.ClassLoader classLoader)
Specified by:
newModule in class PropertiesModuleFactory