Modifier | Constructor and Description |
---|---|
protected |
Modules()
Restricted constructor for subclasses.
|
Modifier and Type | Method and Description |
---|---|
static Modules |
getDefault()
Gets the singleton set of modules.
|
abstract ModuleInfo |
ownerOf(Class<?> clazz)
Finds the module which loaded a class.
|
public static Modules getDefault()
ownerOf(java.lang.Class<?>)
using a linear search.public abstract ModuleInfo ownerOf(Class<?> clazz)
clazz
- a classModuleInfo.owns(java.lang.Class<?>)
Built on April 14 2012. | Portions Copyright 1997-2012 Sun Microsystems, Inc. All rights reserved.