|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.ethz.iks.slp.impl.LocatorImpl
public final class LocatorImpl
Implementation of the Locator interface. If the configuration does not have to provide UA functionalities, this class does not have to be included in the distribution.
Locator| Constructor Summary | |
|---|---|
LocatorImpl()
create a new LocatorImpl instance. |
|
LocatorImpl(Locale locale)
create a new LocatorImpl instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocatorImpl()
public LocatorImpl(Locale locale)
theLocale - the Locale for this instance.| Method Detail |
|---|
public Locale getLocale()
getLocale in interface Locatorpublic void setLocale(Locale locale)
setLocale in interface Locatorlocale - the Locale.Advertiser#setLocale()
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||