Package org.alfresco.repo.thumbnail
Class ThumbnailDefinitionSpringRegisterer
- java.lang.Object
-
- org.alfresco.repo.thumbnail.ThumbnailDefinitionSpringRegisterer
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class ThumbnailDefinitionSpringRegisterer extends java.lang.Object implements org.springframework.beans.factory.InitializingBeanThis class provides a way to register a newThumbnailDefinitionwith theThumbnailRegistryin spring, without needing to override the whole of the "thumbnailRegistry" bean. This class is a stop-gap until Alfresco 4.0, when ThumbnailDefinitions will be able to be registered more cleanly with the registry in the same way as other Alfresco beans to their registrys.- Author:
- Nick Burch
-
-
Constructor Summary
Constructors Constructor Description ThumbnailDefinitionSpringRegisterer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()Registers theThumbnailDefinitionwith the registry.voidsetThumbnailDefinition(ThumbnailDefinition thumbnailDefinition)voidsetThumbnailRegistry(ThumbnailRegistry thumbnailRegistry)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet()
Registers theThumbnailDefinitionwith the registry.- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
setThumbnailRegistry
public void setThumbnailRegistry(ThumbnailRegistry thumbnailRegistry)
-
setThumbnailDefinition
public void setThumbnailDefinition(ThumbnailDefinition thumbnailDefinition)
-
-