public interface IServiceContainer extends IServiceProvider, com.aspose.ms.System.IDisposable
Provides a container for services.
IServiceProvider
,
IDisposable
Modifier and Type | Method and Description |
---|---|
<TService extends IService> |
addService(TService service,
java.lang.Class<TService> clazz)
Adds the specified service to the service container.
|
getService
<TService extends IService> void addService(TService service, java.lang.Class<TService> clazz)
Adds the specified service to the service container.
service
- The service instance.
TService
: The type of the service.