Package org.alfresco.repo.thumbnail
Class ThumbnailRegistry.RegistryLifecycle
- java.lang.Object
-
- org.springframework.extensions.surf.util.AbstractLifecycleBean
-
- org.alfresco.repo.thumbnail.ThumbnailRegistry.RegistryLifecycle
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener
- Enclosing class:
- ThumbnailRegistry
protected class ThumbnailRegistry.RegistryLifecycle extends org.springframework.extensions.surf.util.AbstractLifecycleBeanThis class hooks in to the spring application lifecycle and ensures that any ThumbnailDefinitions injected by spring are converted to RenditionDefinitions and saved.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRegistryLifecycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidonBootstrap(org.springframework.context.ApplicationEvent event)protected voidonShutdown(org.springframework.context.ApplicationEvent event)
-
-
-
Method Detail
-
onBootstrap
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
- Specified by:
onBootstrapin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-
onShutdown
protected void onShutdown(org.springframework.context.ApplicationEvent event)
- Specified by:
onShutdownin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-
-