1 25 package org.ofbiz.service.rmi; 26 27 import java.util.Map ; 28 import java.rmi.Remote ; 29 import java.rmi.RemoteException ; 30 31 import org.ofbiz.service.GenericRequester; 32 import org.ofbiz.service.GenericResultWaiter; 33 import org.ofbiz.service.GenericServiceException; 34 35 42 public interface RemoteDispatcher extends Remote { 43 44 52 public Map runSync(String serviceName, Map context) throws GenericServiceException, RemoteException ; 53 54 63 public Map runSync(String serviceName, Map context, int transactionTimeout, boolean requireNewTransaction) throws GenericServiceException, RemoteException ; 64 65 72 public void runSyncIgnore(String serviceName, Map context) throws GenericServiceException, RemoteException ; 73 74 82 public void runSyncIgnore(String serviceName, Map context, int transactionTimeout, boolean requireNewTransaction) throws GenericServiceException, RemoteException ; 83 84 94 public void runAsync(String serviceName, Map context, GenericRequester requester, boolean persist, int transactionTimeout, boolean requireNewTransaction) throws GenericServiceException, RemoteException ; 95 96 105 public void runAsync(String serviceName, Map context, GenericRequester requester, boolean persist) throws GenericServiceException, RemoteException ; 106 107 116 public void runAsync(String serviceName, Map context, GenericRequester requester) throws GenericServiceException, RemoteException ; 117 118 126 public void runAsync(String serviceName, Map context, boolean persist) throws GenericServiceException, RemoteException ; 127 128 135 public void runAsync(String serviceName, Map context) throws GenericServiceException, RemoteException ; 136 137 146 public GenericResultWaiter runAsyncWait(String serviceName, Map context, boolean persist) throws GenericServiceException, RemoteException ; 147 148 156 public GenericResultWaiter runAsyncWait(String serviceName, Map context) throws GenericServiceException, RemoteException ; 157 158 170 public void schedule(String serviceName, Map context, long startTime, int frequency, int interval, int count, long endTime) throws GenericServiceException, RemoteException ; 171 172 183 public void schedule(String serviceName, Map context, long startTime, int frequency, int interval, int count) throws GenericServiceException, RemoteException ; 184 185 196 public void schedule(String serviceName, Map context, long startTime, int frequency, int interval, long endTime) throws GenericServiceException, RemoteException ; 197 198 206 public void schedule(String serviceName, Map context, long startTime) throws GenericServiceException, RemoteException ; 207 208 } 209 210 | Popular Tags |