Package | Description |
---|---|
java.lang.reflect |
Provides classes and interfaces for obtaining reflective information about
modules, classes and objects.
|
java.util |
Contains the collections framework, legacy collection classes,
event model, date and time facilities, internationalization, and
miscellaneous utility classes (a string tokenizer, a random-number
generator, and a bit array).
|
Modifier and Type | Method | Description |
---|---|---|
static Layer |
Layer.boot() |
Returns the boot layer.
|
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. |
static Layer |
Layer.empty() |
Returns the empty layer.
|
Layer |
Module.getLayer() |
Returns the layer that contains this module or
null if this
module is not in a layer. |
Layer |
Layer.Controller.layer() |
Returns the layer that this object controls.
|
Modifier and Type | Method | Description |
---|---|---|
List<Layer> |
Layer.parents() |
Returns the list of this layer's parents unless this is the
empty layer, which has no parents and so an
empty list is returned.
|
Modifier and Type | Method | Description |
---|---|---|
static Layer.Controller |
Layer.defineModules(Configuration cf,
List<Layer> parentLayers,
Function<String,ClassLoader> clf) |
Creates a new layer by defining the modules in the given
Configuration to the Java virtual machine. |
static Layer.Controller |
Layer.defineModulesWithManyLoaders(Configuration cf,
List<Layer> parentLayers,
ClassLoader parentLoader) |
Creates a new layer by defining the modules in the given
Configuration to the Java virtual machine. |
static Layer.Controller |
Layer.defineModulesWithOneLoader(Configuration cf,
List<Layer> parentLayers,
ClassLoader parentLoader) |
Creates a new layer by defining the modules in the given
Configuration to the Java virtual machine. |
Modifier and Type | Method | Description |
---|---|---|
static <S> ServiceLoader<S> |
ServiceLoader.load(Layer layer,
Class<S> service) |
Creates a new service loader for the given service type that loads
service providers from modules in the given
Layer and its
ancestors. |
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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps