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 ★
Comum · 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.
Na Wikipédia
Texto em inglês Ainda não há artigo no seu idioma: trecho em 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: Wikipédia em inglês, CC BY-SA 4.0. · Imagem: Frap (CC0) ·
Cartas próximas
-
R
Reactor pattern
Event handling pattern for handling service requests delivered concurrently to a service handler by one or more inputs; the service handler then demultiplexes the incoming requests and dispatches them synchronously to the associated request handlers
Nº Q1122024 ★
Sem ofertas
-
Decorator
Nº Q23839 ★★
Sem ofertas
-
Injeção de dependência
Nº Q635336 ★★★
Sem ofertas
-
l
locator
System used for locating objects
Nº Q23016442 ★
Sem ofertas
-
C
Command
Nº Q386776 ★
Sem ofertas
-
D
Double-checked locking
Design pattern only locking if the locking criterion check indicates that locking is required
Nº Q2712542 ★
Sem ofertas