> Cheers to you Stuart, and thanks for the great work on peaberry. It has
> made working in OSGi a much more pleasant experience.
thanks for the kind words Andreas, once enough people have tested this > Andreas
> On Jan 6, 2009, at 1:14 PM, Stuart McCulloch wrote:
> Hi folks,
> Happy new year! FYI, I've just uploaded the first release candidate for
> peaberry 1.0:
> http://peaberry.googlecode.com/files/peaberry-1.0-rc1.zip
> This build supports watching for services by registering "outjection"
> scopes, as follows:
> bind(Id.class).toProvider(service(Id.class)*.out(scopeImpl)*.single());
> the watching scope will then get called as Id services are added, modified,
> or removed.
> This ties in nicely with the fact that registries extend scopes, which
> means you could link
> registries together dynamically if you wanted.
> The util package has an AbstractScope that works like the
> ServiceTrackerCustomizer
> if you prefer that style of API, or you can roll-your-own by implementing
> ServiceScope.
> ( Similarly there's now an AbstractDecorator to help make decoration much
> easier. )
> The main API and builder DSL have both been cleaned up and made as
> orthogonal as
> possible and I've fixed a couple of performance and functional bugs in the
> proxy caching
> logic for multiple services. The proxy glue is now twice as fast as a
> standard JDK proxy :)
> Note: this release does not directly support lifecycle management (or
> Eclipse extensions)
> these will be added in the subsequent release and shouldn't require any
> noticable change
> to the public API (at least that's my goal) - in fact they'll be provided
> as optional bundles.
> Let me know if you find any bugs or missing/incorrect docs :)
> --
Cheers, Stuart