public final class NoopDependencyManager extends Object implements DependencyManager
Modifier and Type | Field and Description |
---|---|
static DependencyManager |
INSTANCE
A ready-made instance of this dependency manager which can safely be reused throughout an entire application
regardless of multi-threading.
|
Constructor and Description |
---|
NoopDependencyManager()
Creates a new instance of this dependency manager.
|
Modifier and Type | Method and Description |
---|---|
DependencyManager |
deriveChildManager(DependencyCollectionContext context)
Derives a dependency manager for the specified collection context.
|
boolean |
equals(Object obj) |
int |
hashCode() |
DependencyManagement |
manageDependency(Dependency dependency)
Applies dependency management to the specified dependency.
|
public static final DependencyManager INSTANCE
public NoopDependencyManager()
INSTANCE
should be used instead.public DependencyManager deriveChildManager(DependencyCollectionContext context)
DependencyManager
deriveChildManager
in interface DependencyManager
context
- The dependency collection context, must not be null
.null
if dependency management
should no longer be applied.public DependencyManagement manageDependency(Dependency dependency)
DependencyManager
manageDependency
in interface DependencyManager
dependency
- The dependency to manage, must not be null
.null
if the dependency is not managed at all.Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.