[OLINGO-856] Replaces concrete impl with interface

This commit is contained in:
mibo 2016-03-04 21:34:55 +01:00
parent 59699da030
commit 8c143c9610
2 changed files with 5 additions and 3 deletions

View File

@ -19,6 +19,7 @@
package org.apache.olingo.server.core.batchhandler;
import org.apache.olingo.server.api.ODataApplicationException;
import org.apache.olingo.server.api.ODataHandler;
import org.apache.olingo.server.api.ODataLibraryException;
import org.apache.olingo.server.api.ODataRequest;
import org.apache.olingo.server.api.ODataResponse;
@ -39,7 +40,7 @@ public class BatchFacadeImpl implements BatchFacade {
* @param batchProcessor batch processor
* @param isStrict mode switch (currently not used)
*/
public BatchFacadeImpl(final ODataHandlerImpl oDataHandler, final BatchProcessor batchProcessor,
public BatchFacadeImpl(final ODataHandler oDataHandler, final BatchProcessor batchProcessor,
final boolean isStrict) {
partHandler = new BatchPartHandler(oDataHandler, batchProcessor, this);
}

View File

@ -20,6 +20,7 @@ package org.apache.olingo.server.core.batchhandler;
import org.apache.olingo.commons.api.http.HttpHeader;
import org.apache.olingo.server.api.ODataApplicationException;
import org.apache.olingo.server.api.ODataHandler;
import org.apache.olingo.server.api.ODataLibraryException;
import org.apache.olingo.server.api.ODataRequest;
import org.apache.olingo.server.api.ODataResponse;
@ -32,12 +33,12 @@ import org.apache.olingo.server.core.ODataHandlerImpl;
import org.apache.olingo.server.core.batchhandler.referenceRewriting.BatchReferenceRewriter;
public class BatchPartHandler {
private final ODataHandlerImpl oDataHandler;
private final ODataHandler oDataHandler;
private final BatchProcessor batchProcessor;
private final BatchFacade batchFacade;
private final BatchReferenceRewriter rewriter;
public BatchPartHandler(final ODataHandlerImpl oDataHandler, final BatchProcessor processor,
public BatchPartHandler(final ODataHandler oDataHandler, final BatchProcessor processor,
final BatchFacade batchFacade) {
this.oDataHandler = oDataHandler;
batchProcessor = processor;