Class DependencyPresenceOnStartupVerifier
java.lang.Object
org.springframework.cloud.zookeeper.discovery.watcher.presence.DependencyPresenceOnStartupVerifier
- Direct Known Subclasses:
DefaultDependencyPresenceOnStartupVerifier
Verifier that checks for presence of mandatory dependencies and delegates to an
optional presence checker verification of presence of optional dependencies.
The default implementation of required dependencies will result in shutting down of the
application if the dependency is missing.
- Version:
- 1.0.0
- Author:
- Marcin Grzejszczak, Tomasz Szymanski, 4financeIT
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDependencyPresenceOnStartupVerifier(PresenceChecker optionalDependencyChecker) -
Method Summary
Modifier and TypeMethodDescriptionvoidverifyDependencyPresence(String dependencyName, org.apache.curator.x.discovery.ServiceCache serviceCache, boolean required)
-
Constructor Details
-
DependencyPresenceOnStartupVerifier
-
-
Method Details
-
verifyDependencyPresence
public void verifyDependencyPresence(String dependencyName, org.apache.curator.x.discovery.ServiceCache serviceCache, boolean required)
-