What is Service Locator pattern?
- A behavioral pattern that describes how to distribute the communication between objects.
- A creational pattern that provides a way to create objects without specifying the exact class of object that will be created.
- A structural pattern that provides a centralized object registry and access to services by using a registry.
- An architectural pattern that separates an application into objects, implementing a user interface and interface communication.
The Service Locator pattern is a J2EE design pattern that abstracts the way to look up and access objects. The objects are managed in a registry, which can be queried for services by client objects.
Loading...