Interface TopiaServiceSupport
- All Known Subinterfaces:
TopiaApplicationContext<K>
- All Known Implementing Classes:
AbstractTopiaApplicationContext,TopiaServiceSupportImpl
public interface TopiaServiceSupport
This API provides methods to manipulate services
- Since:
- 3.0
- Author:
- Arnaud Thimel (Code Lutin)
-
Method Summary
Modifier and TypeMethodDescription<T extends TopiaService>
Map<String,T> getServices(Class<T> interfaceService)
-
Method Details
-
getServices
Map<String,TopiaService> getServices()- Returns:
- The list of registered services. The map key is the service name, and the value is the service instance.
-
getServices
- Type Parameters:
T- type of service- Parameters:
interfaceService- FIXME- Returns:
- Same as
getServices()but returns only services that implements given contract (or is instance of given class).
-