public class ProviderSetting
extends AbstractServiceSetting
implements java.io.Serializable
the configuration information of the service provider.
The service provider context is constructed by service provider configuration information and the dependent service provider list.
Modifier and Type | Field and Description |
---|---|
boolean |
enabled
Whether the service providers are available.
|
java.lang.String[] |
innerProviders
The dependent service provider name list.
|
Constructor and Description |
---|
ProviderSetting() |
ProviderSetting(ProviderSetting setting) |
ProviderSetting(java.lang.String name) |
ProviderSetting(java.lang.String name, java.lang.String type) |
ProviderSetting(java.lang.String name, java.lang.String type, java.lang.Object config) |
Modifier and Type | Method and Description |
---|---|
ProviderSetting |
copy()
Copies replica.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode()
Gets the hash value of the object instance
|
public java.lang.String[] innerProviders
The dependent service provider name list.
For example, the aggregation service provider, cluster service provider depends on a series of service providers.
public boolean enabled
Whether the service providers are available. The default is true, it means available.
public ProviderSetting()
public ProviderSetting(java.lang.String name)
public ProviderSetting(java.lang.String name, java.lang.String type)
public ProviderSetting(java.lang.String name, java.lang.String type, java.lang.Object config)
public ProviderSetting(ProviderSetting setting)
public final ProviderSetting copy()
Copies replica. It means to generate one new same ProviderSetting object with the current one.
public final boolean equals(java.lang.Object obj)
public final int hashCode()