Skip to content

Commit 74e3225

Browse files
committed
Improve Service Locator Javadoc
1 parent 8db2bb2 commit 74e3225

File tree

1 file changed

+8
-2
lines changed
  • service-locator/src/main/java/com/iluwatar/servicelocator

1 file changed

+8
-2
lines changed

service-locator/src/main/java/com/iluwatar/servicelocator/App.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
package com.iluwatar.servicelocator;
22

33
/**
4-
* Service locator pattern, used to lookup JNDI-services
4+
*
5+
* The Service Locator pattern is a design pattern used in software development
6+
* to encapsulate the processes involved in obtaining a service with a strong
7+
* abstraction layer. This pattern uses a central registry known as the "service
8+
* locator", which on request returns the information necessary to perform a certain task.
9+
* <p>
10+
* In this example we use the Service locator pattern to lookup JNDI-services
511
* and cache them for subsequent requests.
6-
*
12+
* <p>
713
* @author saifasif
814
*
915
*/

0 commit comments

Comments
 (0)