Module java.base
Package java.lang

Class ModuleLayer.Controller

  • Enclosing class:
    ModuleLayer

    public static final class ModuleLayer.Controller
    extends Object
    Controls a module layer. The static methods defined by ModuleLayer to create module layers return a Controller that can be used to control modules in the layer.

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

    Since:
    9