| org.ofbiz.service.engine.GenericEngine
All known Subclasses: org.ofbiz.service.engine.InterfaceEngine, org.ofbiz.service.jms.JmsServiceEngine, org.ofbiz.service.engine.GenericAsyncEngine, org.ofbiz.workflow.WorkflowEngine, org.ofbiz.service.engine.RouteEngine,
Method Summary | |
public void | runAsync(String localName, ModelService modelService, Map context, GenericRequester requester, boolean persist) Run the service asynchronously, passing an instance of GenericRequester that will receive the result. | public void | runAsync(String localName, ModelService modelService, Map context, boolean persist) Run the service asynchronously and IGNORE the result. | public Map | runSync(String localName, ModelService modelService, Map context) Run the service synchronously and return the result.
Parameters: localName - Name of the LocalDispatcher. Parameters: modelService - Service model object. Parameters: context - Map of name, value pairs composing the context. | public void | runSyncIgnore(String localName, ModelService modelService, Map context) Run the service synchronously and IGNORE the result. |
runAsync | public void runAsync(String localName, ModelService modelService, Map context, GenericRequester requester, boolean persist) throws GenericServiceException(Code) | | Run the service asynchronously, passing an instance of GenericRequester that will receive the result.
Parameters: localName - Name of the LocalDispatcher. Parameters: modelService - Service model object. Parameters: context - Map of name, value pairs composing the context. Parameters: requester - Object implementing GenericRequester interface which will receive the result. Parameters: persist - True for store/run; False for run. throws: GenericServiceException - |
runAsync | public void runAsync(String localName, ModelService modelService, Map context, boolean persist) throws GenericServiceException(Code) | | Run the service asynchronously and IGNORE the result.
Parameters: localName - Name of the LocalDispatcher. Parameters: modelService - Service model object. Parameters: context - Map of name, value pairs composing the context. Parameters: persist - True for store/run; False for run. throws: GenericServiceException - |
runSync | public Map runSync(String localName, ModelService modelService, Map context) throws GenericServiceException(Code) | | Run the service synchronously and return the result.
Parameters: localName - Name of the LocalDispatcher. Parameters: modelService - Service model object. Parameters: context - Map of name, value pairs composing the context. Map of name, value pairs composing the result. throws: GenericServiceException - |
runSyncIgnore | public void runSyncIgnore(String localName, ModelService modelService, Map context) throws GenericServiceException(Code) | | Run the service synchronously and IGNORE the result.
Parameters: localName - Name of the LocalDispatcher. Parameters: modelService - Service model object. Parameters: context - Map of name, value pairs composing the context. throws: GenericServiceException - |
|
|