public class ProcessEngineServicesResolver extends java.lang.Object implements ServicesLookup
| Constructor and Description |
|---|
ProcessEngineServicesResolver() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
lookupOnPlatform(java.lang.String serviceName)
lookup for a service on the platform
|
<T> T |
lookupOnTenant(java.lang.Long tenantId,
java.lang.String serviceName)
lookup for a service on the tenant
|
public <T> T lookupOnPlatform(java.lang.String serviceName)
ServicesLookuplookupOnPlatform in interface ServicesLookupT - type of the service to returnserviceName - name of the service, it is the id of the bean in the spring contextpublic <T> T lookupOnTenant(java.lang.Long tenantId,
java.lang.String serviceName)
ServicesLookuplookupOnTenant in interface ServicesLookupT - type of the service to returntenantId - id of the tenant on which to lookserviceName - name of the service, it is the id of the bean in the spring context