Class TemporaryDirectoryFileCacheService
java.lang.Object
net.officefloor.web.resource.build.TemporaryDirectoryFileCacheService
- All Implemented Interfaces:
ServiceFactory<FileCacheFactory>,FileCacheFactory,FileCacheService
public class TemporaryDirectoryFileCacheService
extends Object
implements FileCacheService, FileCacheFactory
Temporary directory
FileCacheService.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFileCache(String name) Creates a newFileCache.createService(ServiceContext context) Creates the service.
-
Constructor Details
-
TemporaryDirectoryFileCacheService
public TemporaryDirectoryFileCacheService()
-
-
Method Details
-
createService
Description copied from interface:ServiceFactoryCreates the service.- Specified by:
createServicein interfaceServiceFactory<FileCacheFactory>- Parameters:
context-ServiceContext.- Returns:
- Service.
- Throws:
Throwable- If fails to create the service.
-
createFileCache
Description copied from interface:FileCacheFactoryCreates a newFileCache.- Specified by:
createFileCachein interfaceFileCacheFactory- Parameters:
name- Name for theFileCache.- Returns:
- New
FileCache. - Throws:
IOException- If fails to create a newFileCache.
-