Explain usage of Service Locator Pattern

  • The Service Locator pattern is used to access a centralized registry of service objects, so that client objects can access the services directly.
  • The Service Locator pattern is used to access a centralized registry of service objects, so that client objects do not have to depend on the concrete implementations of the services.
  • The Service Locator pattern is used to create a centralized registry of service objects, so that client objects can access the services indirectly.
  • The Service Locator pattern is used to maintain a centralized registry of service objects, so that client objects can access the services through a locator object.
The Service Locator pattern is used to maintain a centralized registry of service objects, and provides a single point of access for clients to access the services through a locator object.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *