Package org.bonitasoft.engine.service
Class ProcessEngineServicesResolver
java.lang.Object
org.bonitasoft.engine.service.ProcessEngineServicesResolver
- All Implemented Interfaces:
ServicesLookup
- Author:
- Baptiste Mesta
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TlookupOnPlatform(String serviceName) lookup for a service on the platform<T> TlookupOnTenant(Long tenantId, String serviceName) lookup for a service on the tenant
-
Constructor Details
-
ProcessEngineServicesResolver
public ProcessEngineServicesResolver()
-
-
Method Details
-
lookupOnPlatform
Description copied from interface:ServicesLookuplookup for a service on the platform- Specified by:
lookupOnPlatformin interfaceServicesLookup- Type Parameters:
T- type of the service to return- Parameters:
serviceName- name of the service, it is the id of the bean in the spring context- Returns:
- the service
-
lookupOnTenant
Description copied from interface:ServicesLookuplookup for a service on the tenant- Specified by:
lookupOnTenantin interfaceServicesLookup- Type Parameters:
T- type of the service to return- Parameters:
tenantId- id of the tenant on which to lookserviceName- name of the service, it is the id of the bean in the spring context- Returns:
- the service
-