Package org.mapfish.print
Class ImageIOPluginScanner
java.lang.Object
org.mapfish.print.ImageIOPluginScanner
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
public final class ImageIOPluginScanner
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Scans for ImageIO plugins when the application context is loaded.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) Ensure that extensions for ImageIO (like the reader and writer for TIFF) are registered.
-
Constructor Details
-
ImageIOPluginScanner
public ImageIOPluginScanner()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) Ensure that extensions for ImageIO (like the reader and writer for TIFF) are registered. This is required for certain Windows systems.- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>- Parameters:
event- the startup event. Not needed here but required for API.
-