| Modifier and Type | Class and Description |
|---|---|
| private static class | ModuleLoaderMap.
Maps the system modules to the built-in class loaders. |
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Set | |
| public static boolean | isBuiltinMapper(Function<String, ClassLoader> clf)
When defining modules for a configuration, we only allow defining modules to the boot or platform classloader if the ClassLoader mapping function originate from here. |
| pack-priv static Function | mappingFunction(Configuration cf)
Returns a function to map modules in the given configuration to the built-in class loaders. |
| public static Set | nativeAccessModules()
Returns the names of the modules defined to the application loader which perform native access. |
| public static Set |
| ModuleLoaderMap | back to summary |
|---|---|
| public ModuleLoaderMap() | |
| bootModules | back to summary |
|---|---|
| public static Set Returns the names of the modules defined to the boot loader. | |
| isBuiltinMapper | back to summary |
|---|---|
| public static boolean isBuiltinMapper(Function<String, ClassLoader> clf) When defining modules for a configuration, we only allow defining modules to the boot or platform classloader if the ClassLoader mapping function originate from here. | |
| mappingFunction | back to summary |
|---|---|
| pack-priv static Function Returns a function to map modules in the given configuration to the built-in class loaders. | |
| nativeAccessModules | back to summary |
|---|---|
| public static Set Returns the names of the modules defined to the application loader which perform native access. | |
| platformModules | back to summary |
|---|---|
| public static Set Returns the names of the modules defined to the platform loader. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final ClassLoader | |
| private static final String | |
| private final Map | map
Map from module name to class loader name. |
| private static final ClassLoader | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | Mapper(Configuration cf)
Creates a Mapper to map module names in the given Configuration to built-in classloaders. |
| Modifier and Type | Method and Description |
|---|---|
| public ClassLoader | apply(String name)
Implements java. Applies this function to the given argument. |
| APP_CLASSLOADER | back to summary |
|---|---|
| private static final ClassLoader APP_CLASSLOADER | |
| APP_LOADER_NAME | back to summary |
|---|---|
| private static final String APP_LOADER_NAME | |
| map | back to summary |
|---|---|
| private final Map<String, String> map Map from module name to class loader name. The name is resolved to the
actual class loader in | |
| PLATFORM_CLASSLOADER | back to summary |
|---|---|
| private static final ClassLoader PLATFORM_CLASSLOADER | |
| PLATFORM_LOADER_NAME | back to summary |
|---|---|
| private static final String PLATFORM_LOADER_NAME | |
| Mapper | back to summary |
|---|---|
| pack-priv Mapper(Configuration cf) Creates a Mapper to map module names in the given Configuration to built-in classloaders. As a proxy for the actual classloader, we store an easily archiveable loader name in the internal map. | |
| apply | back to summary |
|---|---|
| public ClassLoader apply(String name) Implements java. Doc from java. Applies this function to the given argument.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final Set | |
| private static final Set | |
| private static final Set |
| Access | Constructor and Description |
|---|---|
| private |
| bootModules | back to summary |
|---|---|
| private static final Set<String> bootModules | |
| nativeAccessModules | back to summary |
|---|---|
| private static final Set<String> nativeAccessModules | |
| platformModules | back to summary |
|---|---|
| private static final Set<String> platformModules | |
| Modules | back to summary |
|---|---|
| private Modules() | |