com.silverpeas.comment.service
Class CommentServiceFactory

java.lang.Object
  extended by com.silverpeas.comment.service.CommentServiceFactory

public class CommentServiceFactory
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
 CommentService getCommentService()
          Gets a CommentService instance.
 CommentUserNotificationService getCommentUserNotificationService()
          Gets a CommentUserNotificationService instance.
static CommentServiceFactory getFactory()
          Gets an instance of this CommentServiceFactory class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFactory

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

Returns:
a CommentServiceFactory instance.

getCommentService

public CommentService getCommentService()
Gets a CommentService instance.

Returns:
a CommentService instance.

getCommentUserNotificationService

public CommentUserNotificationService getCommentUserNotificationService()
Gets a CommentUserNotificationService instance.

Returns:
a CommentUserNotificationService instance.


Copyright © 2016 Silverpeas. All Rights Reserved.