Module java.base
Package java.lang

Class ModuleLayer.Controller

java.lang.Object
java.lang.ModuleLayer.Controller
Enclosing class:
ModuleLayer

public static final classModuleLayer.ControllerextendsObject
Controls a module layer. The static methods defined byModuleLayer to create module layers return aController that can be used to control modules in the layer.

Unless otherwise specified, passing anull argument to a method in this class causes aNullPointerException to be thrown.

API Note:
Care should be taken withController objects, they should never be shared with untrusted code.
Since:
9
  • Method Details