public class BundlesHealthCheck
extends java.lang.Object
| Constructor and Description |
|---|
BundlesHealthCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.osgi.framework.BundleContext bundleContext) |
void |
deactivate() |
HealthCheckResponse |
verify()
Verify every bundle state, if checked in the configuration.
|
HealthCheckResponse |
verifyBundles(HealthCheckProbeType probeType,
java.util.Set<java.lang.String> requiredBundleSymbolicNames)
Verify if the required bundles from the configuration are present and in a proper state, i.e.
|
public HealthCheckResponse verify()
HealthCheckResponse,
HealthCheckStatuspublic HealthCheckResponse verifyBundles(HealthCheckProbeType probeType, java.util.Set<java.lang.String> requiredBundleSymbolicNames)
probeType - type of probe we're looking for (e.g. readiness or
liveness)requiredBundleSymbolicNames - list of required bundle symbolic namesHealthCheckResponse,
HealthCheckStatuspublic void activate(org.osgi.framework.BundleContext bundleContext)
public void deactivate()