org.silverpeas.admin.domain
Class DomainServiceFactory

java.lang.Object
  extended by org.silverpeas.admin.domain.DomainServiceFactory

public class DomainServiceFactory
extends Object

A factory of CommentService objects. Its aim is to manage the life-cycle of such objects and so to encapsulates from the CommentService client the adopted policy about that life-cycle.


Method Summary
static DomainService getDomainService(DomainType type)
          Gets a DomainService instance.
static DomainServiceFactory getFactory()
          Gets an instance of this DomainServiceFactory class.
static QuotaService<UserDomainQuotaKey> getUserDomainQuotaService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFactory

public static DomainServiceFactory getFactory()
Gets an instance of this DomainServiceFactory class.

Returns:
a DomainServiceFactory instance.

getDomainService

public static DomainService getDomainService(DomainType type)
Gets a DomainService instance.

Returns:
a DomainService instance.

getUserDomainQuotaService

public static QuotaService<UserDomainQuotaKey> getUserDomainQuotaService()


Copyright © 2016 Silverpeas. All Rights Reserved.