© Kishori Sharan 2018
Kishori SharanJava Language Featureshttps://doi.org/10.1007/978-1-4842-3348-1_15

15. The Module API

Kishori Sharan1 
(1)
Montgomery, Alabama, USA
 
In this chapter, you will learn:
  • What the Module API is

  • How to represent a module and a module descriptor in a program

  • How to read a module descriptor in a program

  • How to represent a module’s version

  • How to read a module’s properties using the Module and ModuleDescriptor classes

  • How to update a module’s definition at runtime using the Module class

  • How to access resources in a module

  • How to create annotations that can be used on modules and how to read annotations used on modules

  • What module layers and configurations are

  • How to create custom module layers and load modules into them

What Is the ...

Get Java Language Features: With Modules, Streams, Threads, I/O, and Lambda Expressions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.