JBoss Modules 1.0.2.GA

org.jboss.modules
Class SystemClassPathModuleLoader

java.lang.Object
  extended by org.jboss.modules.ModuleLoader
      extended by org.jboss.modules.SystemClassPathModuleLoader

Deprecated. the system module will be removed in 1.1 in favor of a system dependency type.

@Deprecated
public final class SystemClassPathModuleLoader
extends ModuleLoader

The module loader for the system/application class path module.

Author:
David M. Lloyd

Method Summary
protected  ModuleSpec findModule(ModuleIdentifier moduleIdentifier)
          Deprecated. Find a Module's specification in this ModuleLoader by its identifier.
static SystemClassPathModuleLoader getInstance()
          Deprecated. the system module will be removed in 1.1 in favor of a system dependency type.
 String toString()
          Deprecated. Get the string representation of this module loader.
 
Methods inherited from class org.jboss.modules.ModuleLoader
findLoadedModuleLocal, forClass, forClassLoader, loadModule, loadModuleLocal, preloadExportedModule, preloadModule, preloadModule, refreshResourceLoaders, relink, setAndRefreshResourceLoaders, setAndRelinkDependencies, unloadModuleLocal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

@Deprecated
public static SystemClassPathModuleLoader getInstance()
Deprecated. the system module will be removed in 1.1 in favor of a system dependency type.

Get the system module loader.

Returns:
the system module loader

findModule

protected ModuleSpec findModule(ModuleIdentifier moduleIdentifier)
                         throws ModuleLoadException
Deprecated. 
Find a Module's specification in this ModuleLoader by its identifier. This should be overriden by sub-classes to implement the Module loading strategy for this loader.

If no module is found in this module loader with the given identifier, then this method should return null. If the module is found but some problem occurred (for example, a transitive dependency failed to load) then this method should throw a ModuleLoadException of the relevant type.

Specified by:
findModule in class ModuleLoader
Parameters:
moduleIdentifier - The modules Identifier
Returns:
the module specification, or null if no module is found with the given identifier
Throws:
ModuleLoadException - if any problems occur finding the module

toString

public String toString()
Deprecated. 
Description copied from class: ModuleLoader
Get the string representation of this module loader.

Specified by:
toString in class ModuleLoader
Returns:
the string representation

JBoss Modules 1.0.2.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.