public interface ProviderContext
Service provider context interface.
Used to obtain the configuration information of the service provider and other service providers used by the service provider.
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | PROVIDERNAME | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> T | getConfig(java.lang.Class<T> clz)Gets the corresponding service provider configuration information according to the configuration type of the service provider. | 
| java.lang.String | getProperty(java.lang.String propertyName)Gets system properties | 
| <T> java.util.List<T> | getProviders(java.lang.Class<T> clz)Obtains a list of other service providers used by the service provider based on the service provider type. | 
static final java.lang.String PROVIDERNAME
<T> T getConfig(java.lang.Class<T> clz)
Gets the corresponding service provider configuration information according to the configuration type of the service provider.
clz - Service provider configuration type.<T> java.util.List<T> getProviders(java.lang.Class<T> clz)
Obtains a list of other service providers used by the service provider based on the service provider type.
clz - Service provider type.java.lang.String getProperty(java.lang.String propertyName)
The method may return null, there are outputPath, outputSite two properties temporarily.
propertyName - The name of the attribute to be obtained is case sensitive.