knowing / Medmon

Medical Monitoring
5 stars 0 forks source link

Refactor medic bundles #118

Closed muuki88 closed 12 years ago

muuki88 commented 12 years ago

Task

Separate Service API from Service Implementation in two different bundles.

Implementation Details

For service API name the bundle de.lmu.ifi.dbs.medmon.services The old bundle *.medmon.medic.core remains and includes the service implementation.

Problems

For a few services the should be a default implementation, that can be used, e.g.

There are a few possible solutions

  1. Provide abstract default implementations. Services can't be used "out-of-the-box". However no unnecessary services are registered
  2. Activate services only on configuration. For this the OSGi ConfigurationAdminService is needed. The services would be provided by the *.medmon.services bundle.
  3. Register them all by default.

    Affects

    • de.lmu.ifi.dbs.medmon.common.core.feature
    • de.lmu.ifi.dbs.medmon.medic.feature
muuki88 commented 12 years ago

Fixed.