Re: Publisher - Subscriber pattern for Tapestry Service

"Thiago H. de Paula Figueiredo" <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAE_88GZaQ1yUie1=nbV3NnUtWePQkuO47A1Uy+MGna44r+Ny9A@mail.gmail.com>
On Wed, Jun 21, 2017 at 1:42 AM, abangkis <[email protected]> wrote:

> I was thinking because of how the Services implementation & instantiation
> is managed by tapestry. How the service is injected instead of manually
> created.
>
> Thanks for the hint, I will look at those files source code.
>

There's absolutely nothing special in these classes' sources. They just
receive the observers as their distributed configuration and keep them in a
List or Collection field. But even if you wanted to add or remove observers
on the fly (i.e. after the Registry is started and all services
initialized) that wouldn't be a problem at all.

-- 
Thiago
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.