org.ofbiz.service.group
Class ServiceGroupEngine

java.lang.Object
  extended by org.ofbiz.service.engine.AbstractEngine
      extended by org.ofbiz.service.engine.GenericAsyncEngine
          extended by org.ofbiz.service.group.ServiceGroupEngine
All Implemented Interfaces:
GenericEngine

public class ServiceGroupEngine
extends GenericAsyncEngine

ServiceGroupEngine.java


Field Summary
 
Fields inherited from class org.ofbiz.service.engine.GenericAsyncEngine
module
 
Fields inherited from class org.ofbiz.service.engine.AbstractEngine
dispatcher, locationMap
 
Fields inherited from interface org.ofbiz.service.engine.GenericEngine
ASYNC_MODE, SYNC_MODE
 
Constructor Summary
ServiceGroupEngine(ServiceDispatcher dispatcher)
          Constructor for ServiceGroupEngine.
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> runSync(java.lang.String localName, ModelService modelService, java.util.Map<java.lang.String,java.lang.Object> context)
          Run the service synchronously and return the result.
 void runSyncIgnore(java.lang.String localName, ModelService modelService, java.util.Map<java.lang.String,java.lang.Object> context)
          Run the service synchronously and IGNORE the result.
 
Methods inherited from class org.ofbiz.service.engine.GenericAsyncEngine
allowCallbacks, runAsync, runAsync
 
Methods inherited from class org.ofbiz.service.engine.AbstractEngine
getLocation, initLocations, sendCallbacks, sendCallbacks, sendCallbacks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceGroupEngine

public ServiceGroupEngine(ServiceDispatcher dispatcher)
Constructor for ServiceGroupEngine.

Parameters:
dispatcher -
Method Detail

runSync

public java.util.Map<java.lang.String,java.lang.Object> runSync(java.lang.String localName,
                                                                ModelService modelService,
                                                                java.util.Map<java.lang.String,java.lang.Object> context)
                                                         throws GenericServiceException
Description copied from interface: GenericEngine
Run the service synchronously and return the result.

Specified by:
runSync in interface GenericEngine
Specified by:
runSync in class GenericAsyncEngine
Parameters:
localName - Name of the LocalDispatcher.
modelService - Service model object.
context - Map of name, value pairs composing the context.
Returns:
Map of name, value pairs composing the result.
Throws:
GenericServiceException
See Also:
GenericEngine.runSync(java.lang.String, org.ofbiz.service.ModelService, java.util.Map)

runSyncIgnore

public void runSyncIgnore(java.lang.String localName,
                          ModelService modelService,
                          java.util.Map<java.lang.String,java.lang.Object> context)
                   throws GenericServiceException
Description copied from interface: GenericEngine
Run the service synchronously and IGNORE the result.

Specified by:
runSyncIgnore in interface GenericEngine
Specified by:
runSyncIgnore in class GenericAsyncEngine
Parameters:
localName - Name of the LocalDispatcher.
modelService - Service model object.
context - Map of name, value pairs composing the context.
Throws:
GenericServiceException
See Also:
GenericEngine.runSyncIgnore(java.lang.String, org.ofbiz.service.ModelService, java.util.Map)