Class CommentAvatarService

java.lang.Object
fr.paris.lutece.plugins.extend.modules.comment.service.CommentAvatarService

public final class CommentAvatarService extends Object
CommentAvatarService : provides the ICommentAvatarService implementation to use.

The plugin-avatar is an optional dependency of this module. The implementation is resolved once, in this order :

  1. a bean of type ICommentAvatarService declared in a Spring context (lets a site plug its own implementation),
  2. PluginAvatarCommentAvatarService if the plugin-avatar is available and if the property module.extend.comment.avatar.enabled is not set to false,
  3. DefaultCommentAvatarService, which displays no avatar at all.