Package org.adempiere.base
Interface IServicesHolder<T>
-
- Type Parameters:
T
-
- All Known Implementing Classes:
DynamicServiceHolder
public interface IServicesHolder<T>
- Author:
- hengsin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<IServiceReferenceHolder<T>>
getServiceReferences()
Get list of service reference, sorted by service.ranking (from highest to lowest ranking).List<T>
getServices()
Get list of service, sorted by service.ranking (from highest to lowest ranking)
-
-
-
Method Detail
-
getServices
List<T> getServices()
Get list of service, sorted by service.ranking (from highest to lowest ranking)- Returns:
- list of service instance. null if not available or no matching service found
-
getServiceReferences
List<IServiceReferenceHolder<T>> getServiceReferences()
Get list of service reference, sorted by service.ranking (from highest to lowest ranking). If you want to cache service, cache IServiceReferenceHolder instead of the actual service object- Returns:
- list of
IServiceReferenceHolder
-
-