org.jtheque.core.managers.module.loaders
Class ModuleLoader

java.lang.Object
  extended by org.jtheque.core.managers.module.loaders.ModuleLoader

public final class ModuleLoader
extends java.lang.Object

A loader for the modules.

Author:
Baptiste Wicht

Method Summary
static java.lang.Iterable<JThequeError> getErrors()
          Return the errors of the loading.
static java.util.Collection<ModuleContainer> getModules()
          Return all the modules.
static void loadModules()
          Load the modules.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadModules

public static void loadModules()
Load the modules.


getErrors

public static java.lang.Iterable<JThequeError> getErrors()
Return the errors of the loading.

Returns:
A collection containing all the errors occured during the loading process.

getModules

public static java.util.Collection<ModuleContainer> getModules()
Return all the modules.

Returns:
A collection containing all the loaded modules.


Copyright © 2009 JTheque. All Rights Reserved.