Tag

extensionloader

0 views collected around this technical thread.

Code Ape Tech Column
Code Ape Tech Column
Apr 10, 2024 · Backend Development

Understanding and Comparing Java, Spring, and Dubbo SPI Mechanisms

This article explains the concept of Service Provider Interface (SPI), demonstrates how Java's ServiceLoader, Spring's SpringFactoriesLoader, and Dubbo's ExtensionLoader implement SPI, compares their configurations and capabilities, and discusses advanced features such as adaptive extensions, IOC/AOP integration, wrappers, and auto‑activation.

Backend DevelopmentDubboJava
0 likes · 15 min read
Understanding and Comparing Java, Spring, and Dubbo SPI Mechanisms
Sanyou's Java Diary
Sanyou's Java Diary
Feb 8, 2022 · Backend Development

Unveiling Dubbo SPI: How Extensions Are Loaded, Adapted, and Wrapped

This article continues the deep dive into Dubbo's SPI mechanism, explaining how implementation classes are constructed, how adaptive extensions are generated, how automatic activation works, and why Dubbo wraps objects, providing a comprehensive view of the framework's extensibility features.

DubboSPIadaptive-extension
0 likes · 14 min read
Unveiling Dubbo SPI: How Extensions Are Loaded, Adapted, and Wrapped
vivo Internet Technology
vivo Internet Technology
Jun 16, 2021 · Backend Development

Understanding Java SPI and Dubbo Extension Loading Mechanism

The article explains Java’s built‑in SPI mechanism, then details Dubbo’s enhanced SPI—including ExtensionLoader caching, wrapper and adaptive classes, and @Activate automatic activation—showing how extensions are discovered from META‑INF directories, classified, and loaded on demand for flexible, plug‑in style service implementation.

AdaptiveBackend DevelopmentDubbo
0 likes · 20 min read
Understanding Java SPI and Dubbo Extension Loading Mechanism
vivo Internet Technology
vivo Internet Technology
Dec 9, 2020 · Backend Development

Understanding Dubbo SPI: Features, Implementation and Comparison with JDK SPI

The article explains Service Provider Interface (SPI) concepts, shows how the JDK’s built‑in SPI works, and details Dubbo’s extended SPI mechanism—including named and adaptive extensions, dependency injection, AOP wrappers, and activation filtering—highlighting its richer features and implementation compared to standard Java SPI.

AOPAdaptiveDubbo
0 likes · 26 min read
Understanding Dubbo SPI: Features, Implementation and Comparison with JDK SPI