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

java.lang.Object
  extended by org.jtheque.core.managers.module.loaders.SystemModuleLoader
All Implemented Interfaces:
IModuleLoader

public final class SystemModuleLoader
extends java.lang.Object
implements IModuleLoader

A module Loader. This class is responsible for the loading of all the modules of the application.

Author:
Baptiste Wicht

Method Summary
static IModuleLoader get()
          Return the loader.
 java.lang.Object installModule(java.io.File file)
          Install a module.
 java.lang.Object loadModule(java.io.File file)
          Load a module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static IModuleLoader get()
Return the loader.

Returns:
The loader.

installModule

public java.lang.Object installModule(java.io.File file)
Description copied from interface: IModuleLoader
Install a module.

Specified by:
installModule in interface IModuleLoader
Parameters:
file - The file of the module.
Returns:
The installed module.

loadModule

public java.lang.Object loadModule(java.io.File file)
Description copied from interface: IModuleLoader
Load a module.

Specified by:
loadModule in interface IModuleLoader
Parameters:
file - The file of the module.
Returns:
The loaded module.


Copyright © 2009 JTheque. All Rights Reserved.