Groovy 2.2.0

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

 
Fields inherited from class PropertiesModuleFactory
MODULE_NAME_KEY, MODULE_VERSION_KEY
 
Method Summary
ExtensionModule newModule(Properties properties, ClassLoader classLoader)

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

Field Detail

MODULE_FACTORY_KEY

public static final String MODULE_FACTORY_KEY


 
Method Detail

newModule

@Override
@SuppressWarnings("unchecked")
public ExtensionModule newModule(Properties properties, ClassLoader classLoader)


 

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