public interface InterfaceContext
Service interface context interface.
Used to get the configuration information of the service interface and the constructed service component.
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.List<T> |
getComponents(java.lang.Class<T> clz)
Get the service component list used by the service interface according to the service component type.
|
<T> T |
getConfig(java.lang.Class<T> clz)
According to the configuration type of the service interface to obtain the corresponding service interface configuration information.
|
<T> java.util.List<T> getComponents(java.lang.Class<T> clz)
Get the service component list used by the service interface according to the service component type.
clz - specific service component type.<T> T getConfig(java.lang.Class<T> clz)
According to the configuration type of the service interface to obtain the corresponding service interface configuration information. An object mapping exception is thrown if it is not a parameter type.
clz - the service interface configuration type.