|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uka.cmtm.serviceregistry.query.DefaultServiceLocator
public class DefaultServiceLocator
A Basic implementation of ServiceLocator that uses a ServiceProfileLocator to look up service profiles an a ServiceInstanceLocator to fetch conforming instances.
Constructor Summary | |
---|---|
DefaultServiceLocator(String uddiInquiryUrl,
String digReasonerUrl,
String serviceOntologyUrl,
String upperServiceOntologyUrl,
String topOntologyUrl)
Creates a new DefaultServiceLocator |
Method Summary | |
---|---|
void |
addServiceLocatorEventListener(ServiceLocatorEventListener listener)
Sets a ServiceLocatorEventListener to be notified of events during search |
List<ServiceInfo> |
findServices(ServiceParameter searchParameter)
This method can be used to search for services suitable to the given searchParameters. |
void |
removeServiceLocatorEventListener(ServiceLocatorEventListener listener)
Removes a previously set ServiceLocatorEventListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultServiceLocator(String uddiInquiryUrl, String digReasonerUrl, String serviceOntologyUrl, String upperServiceOntologyUrl, String topOntologyUrl) throws InstantiationException
InstantiationException
Method Detail |
---|
public List<ServiceInfo> findServices(ServiceParameter searchParameter) throws IOException
findServices
in interface ServiceLocator
searchParameter
- the parameters the services shoud have
IOException
public void addServiceLocatorEventListener(ServiceLocatorEventListener listener)
addServiceLocatorEventListener
in interface ServiceLocator
listener
- the ServiceLocatorEventListener to be setpublic void removeServiceLocatorEventListener(ServiceLocatorEventListener listener)
removeServiceLocatorEventListener
in interface ServiceLocator
listener
- the ServiceLocatorEventListener to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |