notes/pl/java/libfws/spring/services.txt
Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +03:00

11 строки
589 B
Plaintext
Исходник Ответственный История

Этот файл содержит неоднозначные символы Юникода

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

https://github.com/ehcache/ehcache3/blob/master/docs/src/docs/asciidoc/developer/index.adoc#services
Service are created by using the Javas java.util.ServiceLoader service-provider loading facility.
https://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html
It is used to locate all org.ehcache.spi.service.ServiceFactory implementations on the classpath.
These are in turn used to create Service instances.
Each CacheManager uses its own org.ehcache.spi.ServiceLocator facility to locate Service instances,
which it then in turn life cycles.