Hi,

2013/2/21 Felix Meschberger <[email protected]>

> Hi
>
> SLING-2710 [1] proposes the addition of a TenantManager service interface.
> Thanks for the comments so far.
>
> One question that came up in the issue is whether the TenantManager should
> extend the TenantProvider or not.
>
> I am a bit undecided: On the one hand I think that the TenantManager is
> not a TenantProvider. Also by not extending the TenantProvider the
> implementation has more freedom and it forces proper access to the service.

+1

>
> On the other hand, for administrative tools really using the TenantManager
> having it extend the TenantProvider might make the code simpler (only one
> service to get instead of two).
>
> WDYT ?
>
I think trading flexibility and clarity for saving a service reference is
not worth it.

>
> Regards
> Felix
>
> [1] https://issues.apache.org/jira/browse/SLING-2710


Regards,

Timothee.

Reply via email to