1 24 package org.ofbiz.service.engine; 25 26 import java.util.HashMap ; 27 import java.util.Map ; 28 29 import org.ofbiz.service.GenericRequester; 30 import org.ofbiz.service.GenericServiceException; 31 import org.ofbiz.service.ModelService; 32 import org.ofbiz.service.ServiceDispatcher; 33 34 41 public class RouteEngine implements GenericEngine { 42 43 public RouteEngine(ServiceDispatcher dispatcher) { } 44 45 48 public Map runSync(String localName, ModelService modelService, Map context) throws GenericServiceException { 49 return new HashMap (); 50 } 51 52 55 public void runSyncIgnore(String localName, ModelService modelService, Map context) throws GenericServiceException { 56 return; 57 } 58 59 62 public void runAsync(String localName, ModelService modelService, Map context, GenericRequester requester, boolean persist) throws GenericServiceException { 63 requester.receiveResult(new HashMap ()); 64 } 65 66 69 public void runAsync(String localName, ModelService modelService, Map context, boolean persist) throws GenericServiceException { 70 return; 71 } 72 73 76 public void sendCallbacks(ModelService modelService, Map context, Object cbObj, int mode) throws GenericServiceException { 77 } 78 } 79 | Popular Tags |