Apache Celix  latest
Apache Celix is a framework for C, C++14 and C++17 to develop dynamic modular software applications using component and in-process service-oriented programming.
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...
 

Detailed Description

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

Member Data Documentation

◆ CELIX_OPTS_INIT [1/3]

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/3]

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/3]

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.


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