|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opt4j.core.config.ModuleLoader
public class ModuleLoader
Helper class for loading PropertyModule configurations from files or
retrieving these from XML Nodes.
| Field Summary | |
|---|---|
protected ModuleRegister |
moduleRegister
|
| Constructor Summary | |
|---|---|
ModuleLoader(ModuleRegister moduleRegister)
Constructs a ModuleLoader. |
|
| Method Summary | |
|---|---|
java.util.Collection<? extends com.google.inject.Module> |
get(org.w3c.dom.Node node)
Loads all modules from an XML Node. |
java.util.Collection<? extends com.google.inject.Module> |
load(java.io.File file)
Loads all modules from a File. |
java.util.Collection<? extends com.google.inject.Module> |
load(java.lang.String filename)
Loads all modules from a file (as filename). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final ModuleRegister moduleRegister
| Constructor Detail |
|---|
public ModuleLoader(ModuleRegister moduleRegister)
ModuleLoader.
moduleRegister - the register of all found modules| Method Detail |
|---|
public java.util.Collection<? extends com.google.inject.Module> load(java.lang.String filename)
filename - the file (as filename)
public java.util.Collection<? extends com.google.inject.Module> load(java.io.File file)
File.
file - the input file
public java.util.Collection<? extends com.google.inject.Module> get(org.w3c.dom.Node node)
Node.
node - the XML node
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||