View Javadoc
1   
2   package fr.paris.lutece.plugins.uploadimage.service;
3   
4   import fr.paris.lutece.portal.service.cache.AbstractCacheableService;
5   
6   /**
7    * Cache service for  upload image
8    */
9   public final class UploadImageCacheService extends AbstractCacheableService
10  {
11      private static final String CACHE_NAME = "uploadimage.uploadimageCacheService";
12      private static UploadImageCacheService _instance = new UploadImageCacheService(  );
13  
14      /**
15       * Private constructor
16       */
17      private UploadImageCacheService(  )
18      {
19          initCache(  );
20      }
21  
22      /**
23       * Get the instance of the service
24       * @return The instance of the service
25       */
26      public static UploadImageCacheService getInstance(  )
27      {
28          return _instance;
29      }
30  
31      /**
32       * {@inheritDoc}
33       */
34      @Override
35      public String getName(  )
36      {
37          return CACHE_NAME;
38      }
39  }