|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ofbiz.service.engine.InterfaceEngine
public class InterfaceEngine
InterfaceEngine.java
| Field Summary |
|---|
| Fields inherited from interface org.ofbiz.service.engine.GenericEngine |
|---|
ASYNC_MODE, SYNC_MODE |
| Constructor Summary | |
|---|---|
InterfaceEngine(ServiceDispatcher dispatcher)
|
|
| Method Summary | |
|---|---|
void |
runAsync(java.lang.String localName,
ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context,
boolean persist)
Run the service asynchronously and IGNORE the result. |
void |
runAsync(java.lang.String localName,
ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context,
GenericRequester requester,
boolean persist)
Run the service asynchronously, passing an instance of GenericRequester that will receive the result. |
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. |
void |
sendCallbacks(ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context,
int mode)
Send the service callbacks |
void |
sendCallbacks(ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context,
java.util.Map<java.lang.String,java.lang.Object> result,
int mode)
|
void |
sendCallbacks(ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context,
java.lang.Throwable t,
int mode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InterfaceEngine(ServiceDispatcher dispatcher)
| Method Detail |
|---|
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
GenericEngine
runSync in interface GenericEnginelocalName - Name of the LocalDispatcher.modelService - Service model object.context - Map of name, value pairs composing the context.
GenericServiceExceptionGenericEngine.runSync(java.lang.String, org.ofbiz.service.ModelService, java.util.Map)
public void runSyncIgnore(java.lang.String localName,
ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context)
throws GenericServiceException
GenericEngine
runSyncIgnore in interface GenericEnginelocalName - Name of the LocalDispatcher.modelService - Service model object.context - Map of name, value pairs composing the context.
GenericServiceExceptionGenericEngine.runSyncIgnore(java.lang.String, org.ofbiz.service.ModelService, java.util.Map)
public void runAsync(java.lang.String localName,
ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context,
GenericRequester requester,
boolean persist)
throws GenericServiceException
GenericEngine
runAsync in interface GenericEnginelocalName - Name of the LocalDispatcher.modelService - Service model object.context - Map of name, value pairs composing the context.requester - Object implementing GenericRequester interface which will receive the result.persist - True for store/run; False for run.
GenericServiceExceptionGenericEngine.runAsync(java.lang.String, org.ofbiz.service.ModelService, java.util.Map, org.ofbiz.service.GenericRequester, boolean)
public void runAsync(java.lang.String localName,
ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context,
boolean persist)
throws GenericServiceException
GenericEngine
runAsync in interface GenericEnginelocalName - Name of the LocalDispatcher.modelService - Service model object.context - Map of name, value pairs composing the context.persist - True for store/run; False for run.
GenericServiceExceptionGenericEngine.runAsync(java.lang.String, org.ofbiz.service.ModelService, java.util.Map, boolean)
public void sendCallbacks(ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context,
int mode)
throws GenericServiceException
GenericEngine
sendCallbacks in interface GenericEnginemodelService - Service model objectcontext - Map of name, value pairs composing the contextmode - Service mode (sync or async)
GenericServiceException
public void sendCallbacks(ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context,
java.util.Map<java.lang.String,java.lang.Object> result,
int mode)
throws GenericServiceException
sendCallbacks in interface GenericEngineGenericServiceException
public void sendCallbacks(ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context,
java.lang.Throwable t,
int mode)
throws GenericServiceException
sendCallbacks in interface GenericEngineGenericServiceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||