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.

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 ?

Regards
Felix

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

Reply via email to