Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Service callback methods with a Map parameter that accepts the service properties.
  2. Service property injection into component fields.

Extender Model Support

iPOJO was designed to support the OSGi service model, but the extender model is another approach that can be used on top of the OSGi framework. Instead of listening for service events, the extender model listens for bundle events and then probes bundles to determine if they provide specific extensions. It would be beneficial if iPOJO could somehow be enhanced to support the extender model too.

For example, iPOJO could define a simple declarative way for extension providers to declare the extensions they provide and a way for extension consumers to declare the extensions they require. For example, the actual extensions could be properties, resources, or classes and they could be injected into array fields into the consumer.