Table of Contents
1. Register
In order to use implementations of ICommandRestService, services have to be registered within the ServiceLoader:
-
A
META-INF-directory has to be inserted within theresources-directory of the main-module. Insert another directory,
namedserviceswithin the newly createdMETA-INF-directory. -
files must be added to the
services-directory. The name of the files have to correspond to the fully qualified name of the interfaces.
See image:
-
Within the files, the fully qualified name of the corresponding implementations, has to be written. See image:
Last updated 2025-09-30 16:02:30 +0200