> On 10 Nov 2016, at 16:18, Carsten Ziegeler <[email protected]> wrote:
> 
> Let's assume you have an app, consisting of dozens of services, for
> simplicity let's assume they are all in one bundle. Now you don't want
> to start any of these services until some condition is met.
> Clearly, you can add these special reference to each and every of the
> dozen services, but that doesn't look nice to me.

Given that they all reside in the same bundle makes it quite easy to let
all services act upon a bundle-local service that acts as a gatekeeper for
starting up the other services. It makes it quite explicit when things do
not start up as to why this happens.

Using the module layer to solve this problem sounds still like a wrong
approach to me.

--
Met vriendelijke groeten | Kind regards

Jan Willem Janssen | Software Architect
+31 631 765 814


My world is something with Amdatu and Apache

Luminis Technologies
Churchillplein 1
7314 BZ  Apeldoorn
+31 88 586 46 00

https://www.luminis.eu

KvK (CoC) 09 16 28 93
BTW (VAT) NL8170.94.441.B.01

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to