Package | Description |
---|---|
java.lang |
REVISED Provides classes that are fundamental to the design of the Java
programming language.
|
java.lang.module |
NEW Classes to support module descriptors and creating configurations of modules
by means of resolution and service binding.
|
Modifier and Type | Method | Description |
---|---|---|
Configuration |
ModuleLayer.configuration() |
Returns the configuration for this layer.
|
Modifier and Type | Method | Description |
---|---|---|
ModuleLayer |
ModuleLayer.defineModules(Configuration cf,
Function<String,ClassLoader> clf) |
Creates a new module layer, with this layer as its parent, by defining the
modules in the given
Configuration to the Java virtual machine. |
static ModuleLayer.Controller |
ModuleLayer.defineModules(Configuration cf,
List<ModuleLayer> parentLayers,
Function<String,ClassLoader> clf) |
Creates a new module layer by defining the modules in the given
Configuration to the Java virtual machine. |
ModuleLayer |
ModuleLayer.defineModulesWithManyLoaders(Configuration cf,
ClassLoader parentLoader) |
Creates a new module layer, with this layer as its parent, by defining the
modules in the given
Configuration to the Java virtual machine. |
static ModuleLayer.Controller |
ModuleLayer.defineModulesWithManyLoaders(Configuration cf,
List<ModuleLayer> parentLayers,
ClassLoader parentLoader) |
Creates a new module layer by defining the modules in the given
Configuration to the Java virtual machine. |
ModuleLayer |
ModuleLayer.defineModulesWithOneLoader(Configuration cf,
ClassLoader parentLoader) |
Creates a new module layer, with this layer as its parent, by defining the
modules in the given
Configuration to the Java virtual machine. |
static ModuleLayer.Controller |
ModuleLayer.defineModulesWithOneLoader(Configuration cf,
List<ModuleLayer> parentLayers,
ClassLoader parentLoader) |
Creates a new module layer by defining the modules in the given
Configuration to the Java virtual machine. |
Modifier and Type | Method | Description |
---|---|---|
Configuration |
ResolvedModule.configuration() |
Returns the configuration that this resolved module is in.
|
static Configuration |
Configuration.empty() |
Returns the empty configuration.
|
Configuration |
Configuration.resolve(ModuleFinder before,
ModuleFinder after,
Collection<String> roots) |
Resolves a collection of root modules, with this configuration as its
parent, to create a new configuration.
|
static Configuration |
Configuration.resolve(ModuleFinder before,
List<Configuration> parents,
ModuleFinder after,
Collection<String> roots) |
Resolves a collection of root modules to create a configuration.
|
Configuration |
Configuration.resolveAndBind(ModuleFinder before,
ModuleFinder after,
Collection<String> roots) |
Resolves a collection of root modules, with service binding, and with
this configuration as its parent, to create a new configuration.
|
static Configuration |
Configuration.resolveAndBind(ModuleFinder before,
List<Configuration> parents,
ModuleFinder after,
Collection<String> roots) |
Resolves a collection of root modules, with service binding, to create
configuration.
|
Modifier and Type | Method | Description |
---|---|---|
List<Configuration> |
Configuration.parents() |
Returns an unmodifiable list of this configuration's parents, in search
order.
|
Modifier and Type | Method | Description |
---|---|---|
static Configuration |
Configuration.resolve(ModuleFinder before,
List<Configuration> parents,
ModuleFinder after,
Collection<String> roots) |
Resolves a collection of root modules to create a configuration.
|
static Configuration |
Configuration.resolveAndBind(ModuleFinder before,
List<Configuration> parents,
ModuleFinder after,
Collection<String> roots) |
Resolves a collection of root modules, with service binding, to create
configuration.
|
Copyright © 1993, 2017, Oracle and/or its affiliates · All rights reserved · License