public class HealthCheckFilter
extends java.lang.Object
HealthCheck services.
Once this filter object and the returned health check services are no longer
be used dispose() should be called, to free the service
references.
This class is not thread safe and instances shouldn't be used concurrently
from different threads.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OMIT_PREFIX |
| Constructor and Description |
|---|
HealthCheckFilter(org.osgi.framework.BundleContext bc)
Create a new filter object
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Dispose all used service references
|
java.util.List<HealthCheck> |
getTaggedHealthChecks(java.lang.String... tags)
Get all health check services with one of the supplied tags.
|
org.osgi.framework.ServiceReference[] |
getTaggedHealthCheckServiceReferences(boolean combineWithOr,
java.lang.String... tags)
Get all service references for health check services with one of the supplied tags.
|
org.osgi.framework.ServiceReference[] |
getTaggedHealthCheckServiceReferences(java.lang.String... tags)
Get all service references for health check services with one of the supplied tags.
|
public static final java.lang.String OMIT_PREFIX
public HealthCheckFilter(org.osgi.framework.BundleContext bc)
public java.util.List<HealthCheck> getTaggedHealthChecks(java.lang.String... tags)
public org.osgi.framework.ServiceReference[] getTaggedHealthCheckServiceReferences(java.lang.String... tags)
public org.osgi.framework.ServiceReference[] getTaggedHealthCheckServiceReferences(boolean combineWithOr,
java.lang.String... tags)
combineWithOr - If true will return all health checks that have at least one of the tags set.
If false will return only health checks that have all given tags assigned.tags - the tags to look forpublic void dispose()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"