Package org.alfresco.repo.thumbnail
Class ThumbnailDefinitionSpringRegisterer
java.lang.Object
org.alfresco.repo.thumbnail.ThumbnailDefinitionSpringRegisterer
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Deprecated
public class ThumbnailDefinitionSpringRegisterer
extends Object
implements org.springframework.beans.factory.InitializingBean
Deprecated.
The thumbnails code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
This class provides a way to register a new
ThumbnailDefinition
with the ThumbnailRegistry in 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Registers theThumbnailDefinitionwith the registry.voidsetThumbnailDefinition(ThumbnailDefinition thumbnailDefinition) Deprecated.voidsetThumbnailRegistry(ThumbnailRegistry thumbnailRegistry) Deprecated.
-
Constructor Details
-
ThumbnailDefinitionSpringRegisterer
public ThumbnailDefinitionSpringRegisterer()Deprecated.
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()Deprecated.Registers theThumbnailDefinitionwith the registry.- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
setThumbnailRegistry
Deprecated. -
setThumbnailDefinition
Deprecated.
-