zinger.bsheet.module
Class ModuleFactory
java.lang.Object
zinger.bsheet.module.ModuleFactory
public class ModuleFactory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final ModuleFactory INSTANCE
propertiesFileFilter
protected final java.io.FilenameFilter propertiesFileFilter
ModuleFactory
protected ModuleFactory()
getModules
public java.util.List getModules()
getModuleDescriptors
public java.io.File[] getModuleDescriptors()
getModuleHomeDir
public java.io.File getModuleHomeDir()
loadModule
public Module loadModule(java.io.File modDescriptor)
throws java.io.IOException,
ModuleLoadException
- Throws:
java.io.IOException
ModuleLoadException
loadModule
public Module loadModule(java.util.Properties modConfig)
throws ModuleLoadException
- Throws:
ModuleLoadException
loadModule
public Module loadModule(java.lang.ClassLoader loader,
java.lang.String className)
throws ModuleLoadException
- Throws:
ModuleLoadException
getCPURLs
public java.net.URL[] getCPURLs(java.util.Properties modConfig)
throws ModuleLoadException
- Throws:
ModuleLoadException
- Since:
- 0.9.3