Package com.blazebit.domain.spi
Interface ServiceProvider
-
- All Known Subinterfaces:
DomainBuilder
,DomainModel
public interface ServiceProvider
A provider for access to services.- Since:
- 2.0.0
- Author:
- Christian Beikov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
getService(Class<T> serviceClass)
Returns the resolved service for the given type.
-
-
-
Method Detail
-
getService
<T> T getService(Class<T> serviceClass)
Returns the resolved service for the given type.- Type Parameters:
T
- The service type- Parameters:
serviceClass
- The service class- Returns:
- the resolved service
-
-