public class DatasourceNameSelector extends java.lang.Object implements ProviderSelector
Data source name selector.
The data name can determine whether a data service provider meets the criteria.
Constructor and Description |
---|
DatasourceNameSelector(java.lang.String name)
Builds a data source name selector according to the data source name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
select(java.lang.Object object)
Select the specified object
|
public DatasourceNameSelector(java.lang.String name)
Builds a data source name selector according to the data source name.
name
- Data source namepublic boolean select(java.lang.Object object)
Select the specified object
select
in interface ProviderSelector
object
- Specify the object