toolbox.services.uddi.simple
Interface SimpleUDDIService

Package class diagram package SimpleUDDIService
All Known Implementing Classes:
SimpleUDDIServiceImpl

public interface SimpleUDDIService

Interface that defines a simple UDDI service interface.


Method Summary
 ServiceInfo findServiceInfo(ServiceInfo params)
          Find and return a ServiceInfo instance that satisfies the search criteria provided in the given ServiceInfo instance.
 ServiceInfo getServiceInfo(java.lang.String name)
          Return the ServiceInfo instance associated with the given configured name.
 void publishProviderInfo(ProviderInfo providerInfo)
          Publish the given ProviderInfo instance to the registry.
 void publishServiceInfo(ServiceInfo serviceInfo)
          Publish the given ServiceInfo instance to the registry.
 

Method Detail

getServiceInfo

ServiceInfo getServiceInfo(java.lang.String name)
Return the ServiceInfo instance associated with the given configured name.

Parameters:
name - String containing the configured name.
Returns:
ServiceInfo instance associated with the given configured name.

findServiceInfo

ServiceInfo findServiceInfo(ServiceInfo params)
                            throws SimpleUDDIException
Find and return a ServiceInfo instance that satisfies the search criteria provided in the given ServiceInfo instance.

Parameters:
params - Use the populated properties of this ServiceInfo instance as search criteria.

Supported search properties are:

  • provider
  • serviceName
  • namespace
  • portName

Returns:
ServiceInfo instance or null if the service does not exist in the registry.
Throws:
SimpleUDDIException - if the operation cannot be performed.

publishServiceInfo

void publishServiceInfo(ServiceInfo serviceInfo)
                        throws SimpleUDDIException
Publish the given ServiceInfo instance to the registry.

Parameters:
serviceInfo - ServiceInfo instance to publish.
Throws:
SimpleUDDIException - if the ServiceInfo instance cannot be published.

publishProviderInfo

void publishProviderInfo(ProviderInfo providerInfo)
                         throws SimpleUDDIException
Publish the given ProviderInfo instance to the registry.

Parameters:
providerInfo - ProviderInfo instance to publish.
Throws:
SimpleUDDIException - if the ProviderInfo instance cannot be published.