New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up bundle property and manifest header handling #135

Closed
saschazelzer opened this Issue Aug 31, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@saschazelzer
Member

saschazelzer commented Aug 31, 2016

Due to historical reasons. the function names and their implementation which relate to the handling of properties and bundle manifest headers are not in line with OSGi standards. This will be changed by deprecating the existing functions and adding new ones, satisfying the standard requirements.

Bundle

Deprecate:

  • std::map<std::string, Any> GetProperties() const
  • Any GetProperty(const std::string& key) const
  • std::vector<std::string> GetPropertyKeys() const

New:

  • AnyMap GetHeaders() const

BundleContext

New:

  • Any GetProperty(const std::string& key) const
  • AnyMap GetProperties() const

@saschazelzer saschazelzer self-assigned this Aug 31, 2016

@saschazelzer saschazelzer added this to the Release 3.0 milestone Sep 21, 2016

saschazelzer added a commit that referenced this issue Oct 4, 2016

Merge pull request #138 from CppMicroServices/135-property-and-header…
…-handling

Property and header handling, closes #135 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment