public class DependencyManagerWithContext extends DependencyManager implements Validable
lockGuardProxyFactory| Constructor and Description |
|---|
DependencyManagerWithContext() |
| Modifier and Type | Method and Description |
|---|---|
Optional<Object> |
getDependency(Class type,
boolean lockGuarded) |
Optional<Object> |
getDependency(Class type,
String name,
boolean lockGuarded) |
DependencyContext |
getDependencyContext() |
boolean |
isContextPresent() |
void |
runValidation() |
void |
setContext(DependencyContext context) |
addDriverDependencies, addDriverDependency, addStandardDependencies, addStandardDependency, setLockGuardProxyFactorypublic void setContext(DependencyContext context)
public boolean isContextPresent()
public DependencyContext getDependencyContext()
public Optional<Object> getDependency(Class type, boolean lockGuarded)
getDependency in class DependencyManagerpublic Optional<Object> getDependency(Class type, String name, boolean lockGuarded)
getDependency in class DependencyManagerpublic void runValidation()
throws MongockException
runValidation in interface ValidablerunValidation in class DependencyManagerMongockExceptionCopyright © 2025. All rights reserved.