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

#include <celix_bundle_context.h>

Public Attributes

const char *serviceName OPTS_INIT
 
const char *versionRange OPTS_INIT
 
const char *filter OPTS_INIT
 
const char *serviceLanguage OPTS_INIT
 
bool ignoreServiceLanguage OPTS_INIT
 

Detailed Description

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

Member Data Documentation

const char* serviceName celix_service_filter_options::OPTS_INIT

The required service name.

const char* versionRange celix_service_filter_options::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.

const char* filter celix_service_filter_options::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.

const char* serviceLanguage celix_service_filter_options::OPTS_INIT

The optional service language to filter for. If this is NULL or "" the C language will be used.

bool ignoreServiceLanguage celix_service_filter_options::OPTS_INIT

Whether to ignore (not filter for) the service.lang property. If this is set the serviceLanguage field is ignored and the (service.lang=<>) part is not added tot he filter


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