Apache Celix  2.3.0
An implementation of the OSGi specification adapted to C and C++
Public Attributes | List of all members
celix_service_filter_options Struct Reference

Service filter options which can be used to query for certain services. More...

#include <celix_bundle_context.h>

Public Attributes

const char *serviceName CELIX_OPTS_INIT
 The service name. More...
 
const char *versionRange CELIX_OPTS_INIT
 The optional version range. More...
 
const char *filter CELIX_OPTS_INIT
 LDAP filter to use for fine tuning the filtering, e.g. (|(location=middle)(location=front)) More...
 
const char *serviceLanguage CELIX_OPTS_INIT
 
bool ignoreServiceLanguage CELIX_OPTS_INIT
 

Detailed Description

Service filter options which can be used to query for certain services.

Member Data Documentation

◆ CELIX_OPTS_INIT [1/5]

const char* serviceName celix_service_filter_options::CELIX_OPTS_INIT

The service name.

If NULL is used any services which matches the filter string will be tracked.

◆ CELIX_OPTS_INIT [2/5]

const char* versionRange celix_service_filter_options::CELIX_OPTS_INIT

The optional version range.

If service are registered with a service version this attribute can be used to only select service with a version in the version range. It uses the maven version range format, e.g. [1.0.0,2.0.0) or [1.1.1], etc.

◆ CELIX_OPTS_INIT [3/5]

const char* filter celix_service_filter_options::CELIX_OPTS_INIT

LDAP filter to use for fine tuning the filtering, e.g. (|(location=middle)(location=front))

The filter will be applied to all the user provided and framework provided service properties.

◆ CELIX_OPTS_INIT [4/5]

const char* serviceLanguage celix_service_filter_options::CELIX_OPTS_INIT
Deprecated:
This value is not used any more. If a service language filter is still required add it to the filter.

◆ CELIX_OPTS_INIT [5/5]

bool ignoreServiceLanguage celix_service_filter_options::CELIX_OPTS_INIT
Deprecated:
This value is not used any more. If a service language filter is still required add it to the filter.

The documentation for this struct was generated from the following file: