
public final class LocatorImpl extends Object implements Locator
Locator| Constructor and Description |
|---|
LocatorImpl()
create a new LocatorImpl instance.
|
LocatorImpl(Locale locale)
create a new LocatorImpl instance.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceLocationEnumeration |
findAttributes(ServiceType type,
List scopes,
List attributeIds)
find attributes by service type.
|
ServiceLocationEnumeration |
findAttributes(ServiceURL url,
List scopes,
List attributeIds)
find attributes by service URL.
|
ServiceLocationEnumeration |
findServices(ServiceType type,
List scopes,
String searchFilter)
find services.
|
ServiceLocationEnumeration |
findServiceTypes(String namingAuthority,
List scopes)
find the service types.
|
Locale |
getLocale()
returns the locale for this instance.
|
void |
setLocale(Locale locale)
Set the locale of this instance.
|
public LocatorImpl()
public LocatorImpl(Locale locale)
theLocale - the Locale for this instance.public Locale getLocale()
public void setLocale(Locale locale)
public ServiceLocationEnumeration findServiceTypes(String namingAuthority, List scopes) throws ServiceLocationException
findServiceTypes in interface LocatornamingAuthority - the naming authority.scopes - the scopes.ServiceLocationException - if something goes wrong.Locator.findServiceTypes(String, List)public ServiceLocationEnumeration findServices(ServiceType type, List scopes, String searchFilter) throws ServiceLocationException
findServices in interface Locatortype - the service type.scopes - the scopes.searchFilter - an LDAP filter expression.ServiceLocationException - if something goes wrong.Locator.findAttributes(ServiceType, List, List)public ServiceLocationEnumeration findAttributes(ServiceURL url, List scopes, List attributeIds) throws ServiceLocationException
findAttributes in interface Locatorurl - the ServiceURL of the service.scopes - a List of scoped to be included.attributeIds - a List of attributes for which the values should be returned,
if they exist.ServiceLocationException - in case of network errors etc.Locator.findAttributes(ServiceURL, List, List)public ServiceLocationEnumeration findAttributes(ServiceType type, List scopes, List attributeIds) throws ServiceLocationException
findAttributes in interface Locatortype - the service type.scopes - the scopes.attributeIds - a List of attributes for which the values should be returned,
if they exist.ServiceLocationException - if something goes wrong.Locator.findAttributes(ServiceType, List, List)Copyright © 2018 universAAL Consortium. All rights reserved.