On Wed, Mar 11, 2009 at 7:06 PM, Raymond Feng <[email protected]> wrote:
> Hi, Simon.
>
> Good question. With "plain" OSGi, the services provided or consumed by an
> OSGi bundle are programmed as BundleContext.registerService() or
> BundleContext.getServiceReference(). Some declarative approaches such as DS,
> RFC 124 and iPOJO is trying to abstract them out to form an OSGi-based
> component model.
>
> As the first step, I'll try to use a static bundle.componentType as the
> starting point to describe the OSGi references and services for a bundle in
> the SCA term. Then we'll explore how we can derive it from the RFC 124
> module components. To the most dynamic case, we'll have to watch the Bundle
> and the ServiceRegistry (RFC 126) to build up a "dynamic" componentType.
>
 snip....

+1 completely agree this is the right approach.

Thinking endpoints at the moment so just exercising my mind about what
sort of flexibility might be required.

Simon

Reply via email to