@@ -7,15 +7,18 @@ The main goal of this project is to explore `services` based on `Java 9`
7
7
8
8
_ Reference_ : [ Java 9 Modularity] ( https://www.amazon.com/Java-Modularity-Developing-Maintainable-Applications/dp/1491954167 )
9
9
10
+ ## project structure
11
+ * ** bot** - exploring ` uses ` and default service implementation
12
+ * ** fenchman** , ** spaniard** - exploring ` provides X with Y `
13
+ * ** client** - mock of ` GUI `
10
14
## project description
11
- Services allow a module to provide implementations to other modules
12
- without exporting the concrete implementation class. The module system
13
- has special privileges to reach into the provider module to instantiate
14
- the nonexported implementation class on behalf of the consumer. This
15
- means consumers of the service can use instances of this implementation
16
- class, without having access to it directly. Also, a service consumer
17
- doesn’t know which module provided an implementation, because the only
18
- shared type between provider and consumer is the service type (most
19
- often an interface).
15
+ * Services allow modules to provide implementations without explicitly
16
+ exporting them (the module system has special privileges to reach into
17
+ the provider module to instantiate the nonexported implementation class
18
+ on behalf of the consumer).
19
+ * Consumers of the service can use instances of this implementation
20
+ class without having access to it directly.
21
+ * The only shared type between provider and consumer is the service type
22
+ (most often an interface).
20
23
21
24
## project content
0 commit comments