Sciweavers

Share
JOT
2016

Dependency Injection with Static Analysis and Context-Aware Policy

4 years 4 months ago
Dependency Injection with Static Analysis and Context-Aware Policy
Abstract The dependency injection design pattern improves the configurability, testability, and maintainability of object-oriented applications by decoupling components from both the concrete implementations of their dependencies and the strategy employed to select those implementations. In recent years, a number of libraries have emerged that provide automated support for constructing and connecting dependency-injected objects. Our experience developing systems with these tools has led us to identify two shortcomings of existing dependency injection solutions: the mechanisms for specifying component implementations often make it difficult to write and configure systems of arbitrarily-composable components, and the toolkit implementations often provide limited capabilities for inspection and static analysis of the object graphs of dependency-injected systems. We present Grapht, an new dependency injection container for Java that addresses these issues by providing context-aware polic...
Michael D. Ekstrand, Michael Ludwig
Added 07 Apr 2016
Updated 07 Apr 2016
Type Journal
Year 2016
Where JOT
Authors Michael D. Ekstrand, Michael Ludwig
Comments (0)
books