Improve Service Locator Javadoc

This commit is contained in:
Ilkka Seppala 2015-10-04 00:16:05 +03:00
parent 8db2bb2ac8
commit 74e32259be

View File

@ -1,9 +1,15 @@
package com.iluwatar.servicelocator;
/**
* Service locator pattern, used to lookup JNDI-services
*
* The Service Locator pattern is a design pattern used in software development
* to encapsulate the processes involved in obtaining a service with a strong
* abstraction layer. This pattern uses a central registry known as the "service
* locator", which on request returns the information necessary to perform a certain task.
* <p>
* In this example we use the Service locator pattern to lookup JNDI-services
* and cache them for subsequent requests.
*
* <p>
* @author saifasif
*
*/