public class ComponentSetting
extends AbstractServiceSetting
implements java.io.Serializable
the configuration information of the service component.
The service component is composed of the configuration information of the service component and lists of the service provider.
ComponentContext
Modifier and Type | Field and Description |
---|---|
java.lang.String |
disabledInterfaceNames
The service interface name list whose service instants are stopped.
|
boolean |
enabled
Whether the service component is usable.
|
int |
instanceCount
The expected number of instance under multiple threads.
|
java.lang.String |
interfaceNames
The service interface name list whose services are published by service component.
|
java.lang.String |
providers
The name of service providers.
|
Constructor and Description |
---|
ComponentSetting() |
ComponentSetting(ComponentSetting setting) |
Modifier and Type | Method and Description |
---|---|
ComponentSetting |
copy()
Copies.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode()
Gets the hash value of the object instance
|
public java.lang.String providers
The name of service providers.
A string separated by a comma. Can be Provider or Provider name. It can also be multiple Providers or multiple ProviderSets. Such as "“provider1,providerSet1".
public boolean enabled
Whether the service component is usable. The default is true, indicating usable.
public java.lang.String interfaceNames
The service interface name list whose services are published by service component. The interface name is separated by comma.
public java.lang.String disabledInterfaceNames
The service interface name list whose service instants are stopped. The interface name is separated by comma.
public int instanceCount
The expected number of instance under multiple threads.
public ComponentSetting()
public ComponentSetting(ComponentSetting setting)
public final ComponentSetting copy()
Copies. Generates a new ComponentSetting object exactly the same as the original one.
public final boolean equals(java.lang.Object obj)
public final int hashCode()