Class ServiceRegistryRuntimeServiceImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.service.CommonServiceImpl<C>
-
- org.flowable.common.engine.impl.service.CommonEngineServiceImpl<ServiceRegistryEngineConfiguration>
-
- com.flowable.serviceregistry.engine.ServiceRegistryRuntimeServiceImpl
-
- All Implemented Interfaces:
ServiceRegistryRuntimeService
public class ServiceRegistryRuntimeServiceImpl extends CommonEngineServiceImpl<ServiceRegistryEngineConfiguration> implements ServiceRegistryRuntimeService
-
-
Field Summary
-
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutor
-
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
-
Constructor Summary
Constructors Constructor Description ServiceRegistryRuntimeServiceImpl(ServiceRegistryEngineConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceInvocationBuilder
createServiceInvocationBuilder()
Invokes the service referenced by the service definition matching the passed parameters.Object
getLookupIdByReferenceKey(Map<String,Object> data, String referenceKey, String tenantId)
Object
getLookupIdByServiceKey(Map<String,Object> data, String serviceKey, String tenantId)
ServiceInvocationResultResponse
invokeService(ServiceInvocationBuilder serviceInvocationBuilder)
List<ServiceInvocationResultResponse>
invokeServiceList(ServiceInvocationBuilder serviceInvocationBuilder)
-
Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
-
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
-
-
-
Constructor Detail
-
ServiceRegistryRuntimeServiceImpl
public ServiceRegistryRuntimeServiceImpl(ServiceRegistryEngineConfiguration configuration)
-
-
Method Detail
-
createServiceInvocationBuilder
public ServiceInvocationBuilder createServiceInvocationBuilder()
Description copied from interface:ServiceRegistryRuntimeService
Invokes the service referenced by the service definition matching the passed parameters. The latest version will be looked up and executed.- Specified by:
createServiceInvocationBuilder
in interfaceServiceRegistryRuntimeService
-
invokeService
public ServiceInvocationResultResponse invokeService(ServiceInvocationBuilder serviceInvocationBuilder)
-
invokeServiceList
public List<ServiceInvocationResultResponse> invokeServiceList(ServiceInvocationBuilder serviceInvocationBuilder)
-
getLookupIdByReferenceKey
public Object getLookupIdByReferenceKey(Map<String,Object> data, String referenceKey, String tenantId)
- Specified by:
getLookupIdByReferenceKey
in interfaceServiceRegistryRuntimeService
-
getLookupIdByServiceKey
public Object getLookupIdByServiceKey(Map<String,Object> data, String serviceKey, String tenantId)
- Specified by:
getLookupIdByServiceKey
in interfaceServiceRegistryRuntimeService
-
-