Class DomainServiceProvider


  • @Provider
    public class DomainServiceProvider
    extends Object
    A provider of DomainService objects. Its aim is to manage the life-cycle of such objects and so to encapsulates from the DomainService client the adopted policy about that life-cycle.
    • Method Detail

      • getDomainService

        public static DomainService getDomainService​(DomainType type)
        Gets a DomainService instance.
        Returns:
        a DomainService instance.
      • getUserDomainQuotaService

        public static QuotaService<UserDomainQuotaKey> getUserDomainQuotaService()
        Gets the QuotaService instance associated to the user in domain quota.
        Returns:
        the QuotaService associated to the user in domain quota.