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.
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_CACHE_DIR;
115 
125  constexpr const char * const FRAMEWORK_UUID = CELIX_FRAMEWORK_UUID;
126 
139  constexpr const char * const FRAMEWORK_STATIC_EVENT_QUEUE_SIZE = CELIX_FRAMEWORK_STATIC_EVENT_QUEUE_SIZE;
140 
151  constexpr const char * const AUTO_START_0 = CELIX_AUTO_START_0;
152 
156  constexpr const char * const AUTO_START_1 = CELIX_AUTO_START_1;
157 
161  constexpr const char * const AUTO_START_2 = CELIX_AUTO_START_2;
162 
166  constexpr const char * const AUTO_START_3 = CELIX_AUTO_START_3;
167 
171  constexpr const char * const AUTO_START_4 = CELIX_AUTO_START_4;
172 
176  constexpr const char * const AUTO_START_5 = CELIX_AUTO_START_5;
177 
181  constexpr const char * const AUTO_START_6 = CELIX_AUTO_START_6;
182 
194  constexpr const char * const AUTO_INSTALL = CELIX_AUTO_INSTALL;
195 
205  constexpr const char * const BUNDLES_PATH_NAME = CELIX_BUNDLES_PATH_NAME;
206 
217  constexpr const char * const LOAD_BUNDLES_WITH_NODELETE = CELIX_LOAD_BUNDLES_WITH_NODELETE;
218 
225  constexpr const char* const FRAMEWORK_CONDITION_SERVICES_ENABLED = CELIX_FRAMEWORK_CONDITION_SERVICES_ENABLED;
226 }
celix::AUTO_START_4
constexpr const char *const AUTO_START_4
Definition: Constants.h:171
celix::AUTO_START_1
constexpr const char *const AUTO_START_1
Definition: Constants.h:156
celix::AUTO_START_3
constexpr const char *const AUTO_START_3
Definition: Constants.h:166
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:194
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:151
celix
Definition: Bundle.h:28
celix::AUTO_START_2
constexpr const char *const AUTO_START_2
Definition: Constants.h:161
celix::AUTO_START_6
constexpr const char *const AUTO_START_6
Definition: Constants.h:181
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:217
celix::AUTO_START_5
constexpr const char *const AUTO_START_5
Definition: Constants.h:176
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:125
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:225
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:205
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:139
celix::FRAMEWORK_BUNDLE_ID
constexpr long FRAMEWORK_BUNDLE_ID
The bundle id (value 0) used to identify the Celix framework.
Definition: Constants.h:29