com.silverpeas.sharing.services
Class SharingServiceFactory

java.lang.Object
  extended by com.silverpeas.sharing.services.SharingServiceFactory

public class SharingServiceFactory
extends Object

A factory of SharingTicketService instances. This factory wraps the concrete implementation of the SharingTicketService and the way the life-cycle of theses instances are managed.


Constructor Summary
SharingServiceFactory()
           
 
Method Summary
static SharingServiceFactory getFactory()
          Gets a factory of a file sharing service.
static SharingTicketService getSharingTicketService()
          Gets an instance of the file sharing service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharingServiceFactory

public SharingServiceFactory()
Method Detail

getFactory

public static SharingServiceFactory getFactory()
Gets a factory of a file sharing service.

Returns:
an instance of the FileSharingServiceFactory.

getSharingTicketService

public static SharingTicketService getSharingTicketService()
Gets an instance of the file sharing service.

Returns:
a SharingTicketService instance.


Copyright © 2016 Silverpeas. All Rights Reserved.