Kevin Williams wrote:
> I am interested in the transition from the the 0.95 locateService API
> to the 1.0 APIs. Has there been any work done in this area? In
> particular, I am interested in the look up of the context associated
> with a service since CurrentCompositeContext is removed from 1.0 and
> ComponentContext is replacing CompositeContext. I would be happy to
> pitch in.
>
> Thanks,
>
> --Kevin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
Kevin,
The trunk already implements the ComponentContext API. You can take a
look at SCARuntimeTestCase and SimpleRuntimeImplTestCase in
modules/host-embedded to see how to boot the runtime and get a
ComponentContext. This probably needs more testing though.
It would also be good to bring back the 0.95 CompositeContext API
temporarily (and mark it deprecated) to help bring up the many samples
that still use this old API.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
|