toolbox.uddi
Interface PublicationProxy

Package class diagram package PublicationProxy
All Known Implementing Classes:
PublicationProxyJUDDIImpl, PublicationProxyOSRImpl

public interface PublicationProxy

Interface that defines a proxy for the UDDI Publication API. Implementations of this interface are responsible for abstracting the UDDI Publication API from various UDDI implementations.

At present this interface is only focussed on publishing information related to WSDL services.


Method Summary
 void destroy()
          Destroy this proxy instance.
 void init(UDDIManager manager, java.util.Map props)
          Initialise this proxy with the given manager and configuration properties.
 void publishProviderInfo(java.lang.String providerName, java.lang.String description, java.util.List urlList)
          Publish a new provider using the given parameters.
 void publishProviderInfo(java.lang.String providerName, java.lang.String description, java.util.List urlList, AuthenticationContext ctx)
          Publish a new provider using the given parameters.
 void publishServiceInfo(java.lang.String provider, java.lang.String serviceName, java.lang.String namespace, java.lang.String portTypeName, java.lang.String bindingName, java.lang.String portName, java.lang.String wsdlUrl, java.lang.String accessPoint)
          Publish a WSDL based service using the given parameters.
 void publishServiceInfo(java.lang.String provider, java.lang.String serviceName, java.lang.String namespace, java.lang.String portTypeName, java.lang.String bindingName, java.lang.String portName, java.lang.String wsdlUrl, java.lang.String accessPoint, AuthenticationContext ctx)
          Publish a WSDL based service using the given parameters.
 

Method Detail

init

void init(UDDIManager manager,
          java.util.Map props)
          throws UDDIException
Initialise this proxy with the given manager and configuration properties.

Parameters:
manager - UDDIManager that created this proxy.
props - Map containing configuration properties.
Throws:
UDDIException - if the manager cannot be initialised.

publishServiceInfo

void publishServiceInfo(java.lang.String provider,
                        java.lang.String serviceName,
                        java.lang.String namespace,
                        java.lang.String portTypeName,
                        java.lang.String bindingName,
                        java.lang.String portName,
                        java.lang.String wsdlUrl,
                        java.lang.String accessPoint,
                        AuthenticationContext ctx)
                        throws UDDIException
Publish a WSDL based service using the given parameters.

Parameters:
provider - String containing the name of the service provider.
serviceName - String containing the name of the service.
namespace - String containing the XML namespace of the service.
portTypeName - String containing the port type name of the service.
bindingName - String containing the binding name of the service.
portName - String containing the service port name.
wsdlUrl - String containing the WSDL URL.
accessPoint - String containing the service access point.
ctx - AuthenticationContext instance to use.
Throws:
UDDIException - if the search cannot be performed.

publishServiceInfo

void publishServiceInfo(java.lang.String provider,
                        java.lang.String serviceName,
                        java.lang.String namespace,
                        java.lang.String portTypeName,
                        java.lang.String bindingName,
                        java.lang.String portName,
                        java.lang.String wsdlUrl,
                        java.lang.String accessPoint)
                        throws UDDIException
Publish a WSDL based service using the given parameters.

Parameters:
provider - String containing the name of the service provider.
serviceName - String containing the name of the service.
namespace - String containing the XML namespace of the service.
portTypeName - String containing the port type name of the service.
bindingName - String containing the binding name of the service.
portName - String containing the service port name.
wsdlUrl - String containing the WSDL URL.
accessPoint - String containing the service access point.
Throws:
UDDIException - if the search cannot be performed.

publishProviderInfo

void publishProviderInfo(java.lang.String providerName,
                         java.lang.String description,
                         java.util.List urlList,
                         AuthenticationContext ctx)
                         throws UDDIException
Publish a new provider using the given parameters.

Parameters:
providerName - String containing the name of the provider to publish.
description - String containing a description of the provider.
urlList - List containing URL's (as string instances) pertaining to this provider.
ctx - AuthenticationContext instance to use.
Throws:
UDDIException - if the provider cannot be added.

publishProviderInfo

void publishProviderInfo(java.lang.String providerName,
                         java.lang.String description,
                         java.util.List urlList)
                         throws UDDIException
Publish a new provider using the given parameters.

Parameters:
providerName - String containing the name of the provider to publish.
description - String containing a description of the provider.
urlList - List containing URL's (as string instances) pertaining to this provider.
Throws:
UDDIException - if the provider cannot be added.

destroy

void destroy()
Destroy this proxy instance.