Class CommentAvatarService
- java.lang.Object
-
- fr.paris.lutece.plugins.extend.modules.comment.service.CommentAvatarService
-
public final class CommentAvatarService extends java.lang.ObjectCommentAvatarService : provides theICommentAvatarServiceimplementation to use.The plugin-avatar is an optional dependency of this module. The implementation is resolved once, in this order :
- a bean of type
ICommentAvatarServicedeclared in a Spring context (lets a site plug its own implementation), PluginAvatarCommentAvatarServiceif the plugin-avatar is available and if the propertymodule.extend.comment.avatar.enabledis not set to false,DefaultCommentAvatarService, which displays no avatar at all.
- a bean of type
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ICommentAvatarServicegetInstance()
-
-
-
Method Detail
-
getInstance
public static ICommentAvatarService getInstance()
- Returns:
- the
ICommentAvatarServiceimplementation to use. Never null.
-
-