net.jxta.impl.util
Interface ModuleManager.ModuleManagerLoader
- Enclosing interface:
- ModuleManager
- public static interface ModuleManager.ModuleManagerLoader
ModuleManagerLoader interface.
This interface is used by the application in order to provide its own
class loader instead of using the standard PeerGroup loader.
Method Summary |
Module |
loadModule(String moduleName)
This method is invoked by the ModuleManager when it is time to load
the class associated to the module. |
loadModule
public Module loadModule(String moduleName)
- This method is invoked by the ModuleManager when it is time to load
the class associated to the module. The name of the module is provided,
which allows the application provided loader to be able to load a variety
of modules, if that is necessary for the application. Note that the ModuleManager
assumes that the module which is loaded by the provided loader is not started:
loading and starting a module are two different operations for the ModuleManager.
- Parameters:
moduleName
- is the symbolic name of the Module.
- Returns:
- Module the object that has been loaded.