Michael Angstadt
388f03ae9a
Use ServiceLoader class to obtain service instance
...
In the "main-app" module, the `HelloInterface` service instance, `HelloModules`, was just being treated like an ordinary class that was exported from the "hello.modules" module. The code was not treating the class as a service class. This is not a good example of how services are used.
This commit makes use of the `ServiceLoader` class, which provides access to the `HelloInterface` instance as defined in the "hello.modules" module. This serves as a better example for how services are used.
2020-05-26 15:46:28 -04:00
..
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-04-01 20:42:54 +02:00
2020-05-19 22:24:05 +02:00
2020-05-26 15:46:28 -04:00
2020-03-15 18:22:24 +05:30
2020-05-25 19:45:48 +05:30
2020-03-15 18:22:24 +05:30
2020-03-15 18:22:24 +05:30
2020-03-15 18:22:24 +05:30
2020-03-15 18:22:24 +05:30
2020-05-12 17:10:13 +08:00
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-19 17:48:58 +01:00
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 17:27:36 +02:00
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2020-03-15 18:22:24 +05:30
2020-05-25 19:45:48 +05:30
2020-05-25 19:45:48 +05:30
2019-11-06 17:04:00 +02:00