edu.uga.cs.lsdis.meteors.uddiproxy
Interface DiscoveryEngine

All Known Implementing Classes:
DiscoveryEngineImpl

public interface DiscoveryEngine

This is the main interface for semantic and non semantic discovery using UDDI4J.

Version:
1.0
Author:
Kunal Verma

Method Summary
 void addOntologies(java.util.Vector URIs)
          Add ontologies for semantic inferencing
 void addOntology(java.lang.String URI)
          Add ontology for semantic inferencing
 java.util.Vector combineOperations(java.util.Vector operationsVectorVector)
          The input is a vector of operationVector.
 java.util.Vector findBinding(java.lang.String portTypeKey, java.lang.String protocol, java.lang.String transport)
          Returns bindings for a portType
 java.util.Vector<org.uddi4j.datatype.binding.TModelInstanceInfo> findBindingTMdoles(org.uddi4j.datatype.service.BusinessService service)
          get the vector of bindingtemplate from the business service.
 org.uddi4j.datatype.business.BusinessEntity findBusinessEntity(java.lang.String businessKey)
          find the business entity by the business key.
 org.uddi4j.datatype.service.BusinessService findBusinessService(java.util.Vector<Operation> ops)
          use the set of operations to find out the service
 org.uddi4j.datatype.tmodel.TModel findingTmodelByKey(java.lang.String tmodelKey)
          get the tmodel by the tmodel key
 java.util.Vector findOperation(java.util.Vector functionalConcepts, java.util.Vector inputs, java.util.Vector outputs, org.uddi4j.util.KeyedReference domains)
          This method returns a set of operation TModel keys based on the input concepts output concepts, domains and functional concepts
 java.util.Vector findService(java.lang.String name, java.util.Vector domains)
          Returns ports that implement a service
 java.util.Vector findServices(org.uddi4j.datatype.business.BusinessEntity business)
          get all the services of the business entity
 org.uddi4j.client.UDDIProxy getProxy()
           
 void setProxy(org.uddi4j.client.UDDIProxy proxy)
           
 

Method Detail

findBinding

java.util.Vector findBinding(java.lang.String portTypeKey,
                             java.lang.String protocol,
                             java.lang.String transport)
Returns bindings for a portType

Parameters:
filter - Set of filters for matching
filterType - Type of the filter
Returns:
Vector of TModel keys returned from searhing UDDI

findOperation

java.util.Vector findOperation(java.util.Vector functionalConcepts,
                               java.util.Vector inputs,
                               java.util.Vector outputs,
                               org.uddi4j.util.KeyedReference domains)
This method returns a set of operation TModel keys based on the input concepts output concepts, domains and functional concepts

Parameters:
functionalConcepts - Functional concepts from relevant domain ontologies
inputs - Set of input concepts from relevant domain ontologies
outputs - Set of output concepts from relevant domain ontologies
domains - Set of domains from NAICS taxonomy
Returns:
Set of matching Operation objects from UDDI

findService

java.util.Vector findService(java.lang.String name,
                             java.util.Vector domains)
Returns ports that implement a service

Parameters:
bindingKey - key of the required binding tModel
Returns:
Set of Port objects from searhing UDDI

addOntologies

void addOntologies(java.util.Vector URIs)
Add ontologies for semantic inferencing

Parameters:
URIs - A set of of ontology URIs to add to knowledgebase

addOntology

void addOntology(java.lang.String URI)
Add ontology for semantic inferencing

Parameters:
URI - The URI of the ontology to add to knowledgebase

combineOperations

java.util.Vector combineOperations(java.util.Vector operationsVectorVector)
The input is a vector of operationVector. Each element of the vector is a set of operations which should exist in the same web service(wsdl or wsdls file).

Parameters:
operationsVectorVector - Vector> operations
Returns:
Vector of the services and each service includes several ops

findBusinessService

org.uddi4j.datatype.service.BusinessService findBusinessService(java.util.Vector<Operation> ops)
                                                                throws org.uddi4j.UDDIException,
                                                                       org.uddi4j.transport.TransportException
use the set of operations to find out the service

Parameters:
ops - Vector of Operations
Returns:
business service BusinessService
Throws:
org.uddi4j.UDDIException
org.uddi4j.transport.TransportException

findBindingTMdoles

java.util.Vector<org.uddi4j.datatype.binding.TModelInstanceInfo> findBindingTMdoles(org.uddi4j.datatype.service.BusinessService service)
                                                                                    throws org.uddi4j.UDDIException,
                                                                                           org.uddi4j.transport.TransportException
get the vector of bindingtemplate from the business service. There is at most one bindingTemplate can exist, so get the first one. From the bindingTemplate, get the Vector of tmodelInstanceInfo. Each tmodelInstanceInfo has a tmodel key and description informations.

Parameters:
service - Business Service
Returns:
tmodelInstanceInfos Vector of TModelInstanceInfo
Throws:
org.uddi4j.UDDIException
org.uddi4j.transport.TransportException

findingTmodelByKey

org.uddi4j.datatype.tmodel.TModel findingTmodelByKey(java.lang.String tmodelKey)
                                                     throws org.uddi4j.UDDIException,
                                                            org.uddi4j.transport.TransportException
get the tmodel by the tmodel key

Parameters:
tmodelKey - tmodel key -- String
Returns:
tmodel TModel
Throws:
org.uddi4j.UDDIException
org.uddi4j.transport.TransportException

findBusinessEntity

org.uddi4j.datatype.business.BusinessEntity findBusinessEntity(java.lang.String businessKey)
                                                               throws org.uddi4j.UDDIException,
                                                                      org.uddi4j.transport.TransportException
find the business entity by the business key. key and entity are one to one.

Parameters:
businessKey - busines key -- String
Returns:
BusinessEntity business entity -- BusinessEntity
Throws:
org.uddi4j.UDDIException
org.uddi4j.transport.TransportException

findServices

java.util.Vector findServices(org.uddi4j.datatype.business.BusinessEntity business)
get all the services of the business entity

Parameters:
business - -- business Entity
Returns:
vector of BusinessService

getProxy

org.uddi4j.client.UDDIProxy getProxy()
Returns:
Returns the proxy.

setProxy

void setProxy(org.uddi4j.client.UDDIProxy proxy)
Parameters:
proxy - The proxy to set.