Package | Description |
---|---|
java.lang.module |
Classes to support module descriptors and creating configurations of modules
by means of resolution and service binding.
|
java.lang.reflect |
Provides classes and interfaces for obtaining reflective information about
modules, classes and objects.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
ResolvedModule.configuration()
Returns the configuration that this resolved module is in.
|
static Configuration |
Configuration.empty()
Returns the empty configuration.
|
Configuration |
Configuration.resolveRequires(ModuleFinder before,
ModuleFinder after,
Collection<String> roots)
Resolves a collection of root modules, with this configuration as its
parent, to create a new configuration.
|
Configuration |
Configuration.resolveRequiresAndUses(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.
|
Modifier and Type | Method and Description |
---|---|
Optional<Configuration> |
Configuration.parent()
Returns this configuration's parent unless this is the empty configuration, which has no parent.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
Layer.configuration()
Returns the configuration for this layer.
|
Modifier and Type | Method and Description |
---|---|
Layer |
Layer.defineModules(Configuration cf,
Function<String,ClassLoader> clf)
Creates a new layer, with this layer as its parent, by defining the
modules in the given
Configuration to the Java virtual machine. |
Layer |
Layer.defineModulesWithManyLoaders(Configuration cf,
ClassLoader parentLoader)
Creates a new layer, with this layer as its parent, by defining the
modules in the given
Configuration to the Java virtual machine. |
Layer |
Layer.defineModulesWithOneLoader(Configuration cf,
ClassLoader parentLoader)
Creates a new layer, with this layer as its parent, by defining the
modules in the given
Configuration to the Java virtual machine. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-04-22-203349.buildd.src