VIVO-848 Move the FileStorage system behind an interface

Add it to the Application framework, and do some cleanup.
This commit is contained in:
Jim Blake 2014-08-14 16:54:29 -04:00
parent c751ecdc6d
commit 6e5bbaeef8
24 changed files with 232 additions and 260 deletions

View file

@ -8,6 +8,7 @@ import javax.servlet.ServletContext;
import edu.cornell.mannlib.vitro.webapp.application.ApplicationUtils;
import edu.cornell.mannlib.vitro.webapp.modules.Application;
import edu.cornell.mannlib.vitro.webapp.modules.fileStorage.FileStorage;
import edu.cornell.mannlib.vitro.webapp.modules.imageProcessor.ImageProcessor;
import edu.cornell.mannlib.vitro.webapp.modules.searchEngine.SearchEngine;
@ -66,4 +67,11 @@ public class ApplicationStub implements Application {
"ApplicationStub.getImageProcessor() not implemented.");
}
@Override
public FileStorage getFileStorage() {
throw new RuntimeException(
"ApplicationStub.getFileStorage() not implemented.");
}
}