Service locator pattern
Software pattern to dynamically control the loading of objects at run-time via a central registry object.
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.
Nº Q7455762 ★
Común · Saberes
Service locator pattern
Software pattern to dynamically control the loading of objects at run-time via a central registry object.
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.
En Wikipedia
Texto en inglés Aún no hay artículo en tu idioma: extracto en inglés.
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. Proponents of the pattern say the approach simplifies component-based applications where all dependencies are cleanly listed at the beginning of the whole application design, consequently making traditional dependency injection a more complex way of connecting objects. Critics of the pattern argue that it is an anti-pattern which obscures dependencies and makes software harder to test.
Texto: Wikipedia en inglés, CC BY-SA 4.0. · Imagen: Frap (CC0) ·
Cartas cercanas
-
R
Reactor (patrón de diseño)
Nº Q1122024 ★
Sin ofertas
-
Decorator (patrón de diseño)
Necesidad de añadir dinámicamente funcionalidad a un Objeto
Nº Q23839 ★★
Sin ofertas
-
Inyección de dependencias
Nº Q635336 ★★★
Sin ofertas
-
l
locator
System used for locating objects
Nº Q23016442 ★
Sin ofertas
-
C
Command (patrón de diseño)
Nº Q386776 ★
Sin ofertas
-
D
Double-checked locking
Design pattern only locking if the locking criterion check indicates that locking is required
Nº Q2712542 ★
Sin ofertas