toolbox.uddi
Class PublicationProxyOSRImpl

Package class diagram package PublicationProxyOSRImpl
java.lang.Object
  extended by toolbox.uddi.PublicationProxyOSRImpl
All Implemented Interfaces:
PublicationProxy

public class PublicationProxyOSRImpl
extends java.lang.Object
implements PublicationProxy

PublicationProxy implementation to interact with Oracle Service Registry.


Constructor Summary
PublicationProxyOSRImpl()
          Default constructor.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicationProxyOSRImpl

public PublicationProxyOSRImpl()
Default constructor.

Method Detail

init

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

Specified by:
init in interface PublicationProxy
Parameters:
manager - UDDIManager that created this proxy.
props - Map containing configuration properties.
Throws:
UDDIException - if the manager cannot be initialised.

publishServiceInfo

public 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.

Specified by:
publishServiceInfo in interface PublicationProxy
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

public 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.

Specified by:
publishServiceInfo in interface PublicationProxy
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

public 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.

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

publishProviderInfo

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

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

destroy

public void destroy()
Destroy this proxy instance.

Specified by:
destroy in interface PublicationProxy