Package org.bonitasoft.engine.service
Interface ServicesLookup
- All Known Implementing Classes:
ProcessEngineServicesResolver
public interface ServicesLookup
- Author:
- Baptiste Mesta
-
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
-
Method Details
-
lookupOnPlatform
lookup for a service on the platform- 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
lookup for a service on the tenant- 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
-