@@ -0,0 +1,921 @@
+package org.judal.file;%0A%0Aimport java.util.Map;%0A%0Aimport javax.jdo.JDOException;%0Aimport javax.jdo.JDOUnsupportedOptionException;%0Aimport javax.transaction.TransactionManager;%0A%0Aimport org.judal.storage.Engine;%0A%0Aimport static org.judal.storage.EngineFactory.NAME_FILE;%0A%0Apublic class FileEngine implements Engine%3CFileDataSource%3E %7B%0A%0A%09@Override%0A%09public FileDataSource getDataSource(Map%3CString, String%3E properties) throws JDOException %7B%0A%09%09return new FileDataSource(properties);%0A%09%7D%0A%0A%09@Override%0A%09public FileDataSource getDataSource(Map%3CString, String%3E properties, TransactionManager transactManager) %7B%0A%09%09if (transactManager!=null)%0A%09%09%09throw new JDOUnsupportedOptionException(%22FileDataSource does not support transactions%22);%0A%09%09return new FileDataSource(properties);%0A%09%7D%0A%0A%09@Override%0A%09public TransactionManager getTransactionManager() throws JDOException %7B%0A%09%09return null;%0A%09%7D%0A%0A%09@Override%0A%09public String name() %7B%0A%09%09return NAME_FILE;%0A%09%7D%0A%0A%7D%0A

Add FileEngine