| 35 | { |
| 36 | |
| 37 | FrameworkPrivate::FrameworkPrivate(CoreBundleContext* fwCtx) |
| 38 | : BundlePrivate(fwCtx) |
| 39 | , headers(AnyMap::UNORDERED_MAP_CASEINSENSITIVE_KEYS) |
| 40 | { |
| 41 | headers[Constants::BUNDLE_SYMBOLICNAME] = symbolicName; |
| 42 | headers[Constants::BUNDLE_NAME] = location; |
| 43 | headers[Constants::BUNDLE_VERSION] = version.ToString(); |
| 44 | headers[Constants::BUNDLE_MANIFESTVERSION] = std::string("2"); |
| 45 | headers[Constants::BUNDLE_VENDOR] = std::string("C++ Micro Services"); |
| 46 | headers[Constants::BUNDLE_DESCRIPTION] = std::string("C++ Micro Services System Bundle"); |
| 47 | |
| 48 | // default the internal framework event to what should be |
| 49 | // returned if a client calls WaitForStop while this |
| 50 | // framework is not in an active, starting or stopping state. |
| 51 | stopEvent = FrameworkEventInternal { true, FrameworkEvent::Type::FRAMEWORK_ERROR, std::string(), nullptr }; |
| 52 | } |
| 53 | |
| 54 | FrameworkPrivate::~FrameworkPrivate() noexcept |
| 55 | { |