|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.uka.cmtm.serviceregistry.query.protege.ProtegeServiceProfileLocator
public class ProtegeServiceProfileLocator
Implementation of ServiceProfileLocator that uses a DigProfileIndividualLocator to perform ontology queries.
| Constructor Summary | |
|---|---|
ProtegeServiceProfileLocator(String digReasonerUrl,
String serviceOntologyUrl,
String upperServiceOntologyUrl,
String topOntologyUrl)
Creates a new ProfileIndividualLocator |
|
| Method Summary | |
|---|---|
void |
addServiceLocatorEventListener(ServiceLocatorEventListener listener)
Sets a ServiceLocatorEventListener to be notified of events during search |
List<ServiceProfileInfo> |
findServiceProfiles(int searchLevel)
This method can be used to search for services profiles suitable to the previously set searchParameters. |
int |
getAvailableSearchLevels()
Get the maximum search level that can be used plus one. |
void |
removeServiceLocatorEventListener(ServiceLocatorEventListener listener)
Removes a previously set ServiceLocatorEventListener |
void |
setServiceProfileParameter(ServiceProfileParameter searchParameter)
Sets the search parameter for subsequent calls to findServiceProfiles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtegeServiceProfileLocator(String digReasonerUrl,
String serviceOntologyUrl,
String upperServiceOntologyUrl,
String topOntologyUrl)
throws InstantiationException
InstantiationException - if there is an error while reading the ontology ob
instantiating the DigProfileIndividualLocator| Method Detail |
|---|
public List<ServiceProfileInfo> findServiceProfiles(int searchLevel)
throws IOException
findServiceProfiles in interface ServiceProfileLocatorsearchLevel - the search level to be applied
IOExceptionpublic int getAvailableSearchLevels()
getAvailableSearchLevels in interface ServiceProfileLocatorpublic void addServiceLocatorEventListener(ServiceLocatorEventListener listener)
addServiceLocatorEventListener in interface ServiceProfileLocatorlistener - the ServiceLocatorEventListener to be setpublic void removeServiceLocatorEventListener(ServiceLocatorEventListener listener)
removeServiceLocatorEventListener in interface ServiceProfileLocatorlistener - the ServiceLocatorEventListener to be removedpublic void setServiceProfileParameter(ServiceProfileParameter searchParameter)
setServiceProfileParameter in interface ServiceProfileLocatorsearchParameter - the parameters the services shoud have
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||