Apache Celix  2.4.0
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.
Constants.h
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15  * KIND, either express or implied. See the License for the
16  * specific language governing permissions and limitations
17  * under the License.
18  */
19 
20 #pragma once
21 
22 #include "celix_constants.h"
23 
24 namespace celix {
25 
29  constexpr long FRAMEWORK_BUNDLE_ID = CELIX_FRAMEWORK_BUNDLE_ID;
30 
37  constexpr const char * const SERVICE_NAME = CELIX_FRAMEWORK_SERVICE_NAME;
38 
46  constexpr const char * const SERVICE_ID = CELIX_FRAMEWORK_SERVICE_ID;
47 
53  constexpr const char * const SERVICE_BUNDLE_ID = CELIX_FRAMEWORK_SERVICE_BUNDLE_ID;
54 
65  constexpr const char * const SERVICE_SCOPE = CELIX_FRAMEWORK_SERVICE_SCOPE;
66 
70  constexpr const char * const SERVICE_SCOPE_SINGLETON = CELIX_FRAMEWORK_SERVICE_SCOPE_SINGLETON;
71 
75  constexpr const char * const SERVICE_SCOPE_BUNDLE = CELIX_FRAMEWORK_SERVICE_SCOPE_BUNDLE;
76 
91  constexpr const char * const SERVICE_RANKING = CELIX_FRAMEWORK_SERVICE_RANKING;
92 
106  constexpr const char * const SERVICE_VERSION = CELIX_FRAMEWORK_SERVICE_VERSION;
107 
114  constexpr const char * const FRAMEWORK_CACHE_DIR = CELIX_FRAMEWORK_FRAMEWORK_CACHE_DIR;
115 
116  //@deprecated use FRAMEWORK_CACHE_DIR.
117  constexpr const char * const FRAMEWORK_STORAGE = CELIX_FRAMEWORK_FRAMEWORK_STORAGE;
118 
128  constexpr const char * const FRAMEWORK_UUID = CELIX_FRAMEWORK_FRAMEWORK_UUID;
129 
142  constexpr const char * const FRAMEWORK_STATIC_EVENT_QUEUE_SIZE = CELIX_FRAMEWORK_STATIC_EVENT_QUEUE_SIZE;
143 
154  constexpr const char * const AUTO_START_0 = CELIX_AUTO_START_0;
155 
159  constexpr const char * const AUTO_START_1 = CELIX_AUTO_START_1;
160 
164  constexpr const char * const AUTO_START_2 = CELIX_AUTO_START_2;
165 
169  constexpr const char * const AUTO_START_3 = CELIX_AUTO_START_3;
170 
174  constexpr const char * const AUTO_START_4 = CELIX_AUTO_START_4;
175 
179  constexpr const char * const AUTO_START_5 = CELIX_AUTO_START_5;
180 
184  constexpr const char * const AUTO_START_6 = CELIX_AUTO_START_6;
185 
197  constexpr const char * const AUTO_INSTALL = CELIX_AUTO_INSTALL;
198 
208  constexpr const char * const BUNDLES_PATH_NAME = CELIX_BUNDLES_PATH_NAME;
209 
220  constexpr const char * const LOAD_BUNDLES_WITH_NODELETE = CELIX_LOAD_BUNDLES_WITH_NODELETE;
221 
228  constexpr const char* const FRAMEWORK_CONDITION_SERVICES_ENABLED = CELIX_FRAMEWORK_CONDITION_SERVICES_ENABLED;
229 }
celix::AUTO_START_4
constexpr const char *const AUTO_START_4
Definition: Constants.h:174
celix::AUTO_START_1
constexpr const char *const AUTO_START_1
Definition: Constants.h:159
celix::AUTO_START_3
constexpr const char *const AUTO_START_3
Definition: Constants.h:169
celix::SERVICE_SCOPE_BUNDLE
constexpr const char *const SERVICE_SCOPE_BUNDLE
Service scope is bundle. Each bundle using the service receives a customized service object.
Definition: Constants.h:75
celix::AUTO_INSTALL
constexpr const char *const AUTO_INSTALL
Celix framework environment property (named "CELIX_AUTO_INSTALL") which specified a (ordered) space s...
Definition: Constants.h:197
celix::SERVICE_SCOPE_SINGLETON
constexpr const char *const SERVICE_SCOPE_SINGLETON
Service scope is singleton. All bundles using the service receive the same service object.
Definition: Constants.h:70
celix::AUTO_START_0
constexpr const char *const AUTO_START_0
Celix framework environment property (named "CELIX_AUTO_START_0") which specified a (ordered) space s...
Definition: Constants.h:154
celix
Definition: Bundle.h:27
celix::FRAMEWORK_STORAGE
constexpr const char *const FRAMEWORK_STORAGE
Definition: Constants.h:117
celix::AUTO_START_2
constexpr const char *const AUTO_START_2
Definition: Constants.h:164
celix::AUTO_START_6
constexpr const char *const AUTO_START_6
Definition: Constants.h:184
celix::SERVICE_RANKING
constexpr const char *const SERVICE_RANKING
Service property (named "service.ranking") identifying a service's ranking number (of type long).
Definition: Constants.h:91
celix::LOAD_BUNDLES_WITH_NODELETE
constexpr const char *const LOAD_BUNDLES_WITH_NODELETE
Celix framework environment property (named "CELIX_LOAD_BUNDLES_WITH_NODELETE") which configures if l...
Definition: Constants.h:220
celix::AUTO_START_5
constexpr const char *const AUTO_START_5
Definition: Constants.h:179
celix::SERVICE_VERSION
constexpr const char *const SERVICE_VERSION
Service property (named "service.version") specifying the optional version of a service.
Definition: Constants.h:106
celix::FRAMEWORK_UUID
constexpr const char *const FRAMEWORK_UUID
Celix framework environment property (named "org.osgi.framework.uuid") specifying the UUID for the fr...
Definition: Constants.h:128
celix::FRAMEWORK_CONDITION_SERVICES_ENABLED
constexpr const char *const FRAMEWORK_CONDITION_SERVICES_ENABLED
Celix framework environment property (named "CELIX_FRAMEWORK_CONDITION_SERVICES_ENABLED") to configur...
Definition: Constants.h:228
celix::SERVICE_NAME
constexpr const char *const SERVICE_NAME
Service property (named "objectClass") identifying the service name under which a service was registe...
Definition: Constants.h:37
celix::SERVICE_BUNDLE_ID
constexpr const char *const SERVICE_BUNDLE_ID
Service property (named service.bundleid) identifying the bundle id of the bundle registering the ser...
Definition: Constants.h:53
celix::BUNDLES_PATH_NAME
constexpr const char *const BUNDLES_PATH_NAME
Celix framework environment property (named "CELIX_BUNDLES_PATH") which specified a ; separated list ...
Definition: Constants.h:208
celix::SERVICE_SCOPE
constexpr const char *const SERVICE_SCOPE
Service property (named service.scope) identifying a service's scope.
Definition: Constants.h:65
celix::SERVICE_ID
constexpr const char *const SERVICE_ID
Service property (named "service.id") identifying a service's registration number (of type long).
Definition: Constants.h:46
celix::FRAMEWORK_CACHE_DIR
constexpr const char *const FRAMEWORK_CACHE_DIR
Celix framework environment property (named "CELIX_FRAMEWORK_CACHE_DIR") specifying the cache directo...
Definition: Constants.h:114
celix::FRAMEWORK_STATIC_EVENT_QUEUE_SIZE
constexpr const char *const FRAMEWORK_STATIC_EVENT_QUEUE_SIZE
Celix framework environment property (named "CELIX_FRAMEWORK_STATIC_EVENT_QUEUE_SIZE") which configur...
Definition: Constants.h:142
celix::FRAMEWORK_BUNDLE_ID
constexpr long FRAMEWORK_BUNDLE_ID
The bundle id (value 0) used to identify the Celix framework.
Definition: Constants.h:29