public interface DependencyManager
Note: Implementations must be stateless.
Warning: This hook is called from a hot spot and therefore implementations should pay attention to
performance. Among others, implementations should provide a semantic equals() method.
| Modifier and Type | Method | Description |
|---|---|---|
DependencyManager |
deriveChildManager(DependencyCollectionContext context) |
Derives a dependency manager for the specified collection context.
|
DependencyManagement |
manageDependency(Dependency dependency) |
Applies dependency management to the specified dependency.
|
DependencyManagement manageDependency(Dependency dependency)
dependency - The dependency to manage, must not be null.null if the dependency is not managed at all.DependencyManager deriveChildManager(DependencyCollectionContext context)
context - The dependency collection context, must not be null.null if dependency management
should no longer be applied.