| 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 August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.