toolbox.services.uddi.simple
Class SimpleUDDIServiceImpl

Package class diagram package SimpleUDDIServiceImpl
java.lang.Object
  extended by toolbox.services.BaseService
      extended by toolbox.services.uddi.UDDIService
          extended by toolbox.services.uddi.simple.SimpleUDDIServiceImpl
All Implemented Interfaces:
Service, SimpleUDDIService

public class SimpleUDDIServiceImpl
extends UDDIService
implements SimpleUDDIService

Default implementation of the SimpleUDDIService interface.


Constructor Summary
SimpleUDDIServiceImpl()
          Default constructor.
 
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.
 
Methods inherited from class toolbox.services.uddi.UDDIService
create, destroy, getInquiryProxy, getPublicationProxy, getSecurityProxy, getUDDIManager
 
Methods inherited from class toolbox.services.BaseService
getConfigHome, getName, getProperties, getProperty, getXMLProperties, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleUDDIServiceImpl

public SimpleUDDIServiceImpl()
Default constructor.

Method Detail

getServiceInfo

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

Specified by:
getServiceInfo in interface SimpleUDDIService
Parameters:
name - String containing the configured name.
Returns:
ServiceInfo instance associated with the given configured name.

findServiceInfo

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

Specified by:
findServiceInfo in interface SimpleUDDIService
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

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

Specified by:
publishServiceInfo in interface SimpleUDDIService
Parameters:
serviceInfo - ServiceInfo instance to publish.
Throws:
SimpleUDDIException - if the ServiceInfo instance cannot be published.

publishProviderInfo

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

Specified by:
publishProviderInfo in interface SimpleUDDIService
Parameters:
providerInfo - ProviderInfo instance to publish.
Throws:
SimpleUDDIException - if the ProviderInfo instance cannot be published.