public interface IServiceProvider
Provides an immutable container for services.
Modifier and Type | Method and Description |
---|---|
<TService extends IService> |
getService(java.lang.Class<TService> clazz)
Gets a service object of the specified type.
|
<TService extends IService> TService getService(java.lang.Class<TService> clazz)
Gets a service object of the specified type.
TService
: The type of the service.