Package org.adempiere.base
Interface IServiceHolder<T>
-
- Type Parameters:
T
-
- All Known Implementing Classes:
DynamicServiceHolder
public interface IServiceHolder<T>
- Author:
- hengsin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getService()
Get service with highest service.ranking valueIServiceReferenceHolder<T>
getServiceReference()
Get service reference for service with highest service.ranking value
-
-
-
Method Detail
-
getService
T getService()
Get service with highest service.ranking value- Returns:
- service instance. null if not available or no matching service found
-
getServiceReference
IServiceReferenceHolder<T> getServiceReference()
Get service reference for service with highest service.ranking value- Returns:
IServiceReferenceHolder
-
-