toolbox.uddi
Interface UDDIManager

Package class diagram package UDDIManager
All Known Implementing Classes:
GenericUDDIManagerImpl

public interface UDDIManager

Interface that defines a UDDI access manager. Implementations of this inferface must provide the following functionality:


Method Summary
 void destroy()
          Destroy this manager instance.
 void discardAuthenticationContext(AuthenticationContext ctx)
          Discard the given AuthenticationContext.
 InquiryProxy getInquiryProxy()
          Return the configured InquiryProxy instance.
 java.lang.String getName()
          Return the name of this manager.
 PublicationProxy getPublicationProxy()
          Return the configured PublicationProxy instance.
 SecurityProxy getSecurityProxy()
          Return the configured SecurityProxy instance.
 ServiceInfo getServiceInfo(java.lang.String name)
          Return the named ServiceInfo instance.
 void init(java.lang.String name, XMLProperties xmlProps)
          Initialise this manager with the given name and XML configuration properties.
 AuthenticationContext newAuthenticationContext()
          Create a new AuthenticationContext instance.
 AuthenticationContext newAuthenticationContext(java.lang.String user, java.lang.String passwd)
          Create a new AuthenticationContext instance using the given user and password
 

Method Detail

init

void init(java.lang.String name,
          XMLProperties xmlProps)
          throws UDDIException
Initialise this manager with the given name and XML configuration properties.

Parameters:
name - The name of this manager.
xmlProps - XMLProperties instance containing the manager configuration.
Throws:
UDDIException - if the manager cannot be initialised.

getSecurityProxy

SecurityProxy getSecurityProxy()
Return the configured SecurityProxy instance.

Returns:
SecurityProxy instance.

getInquiryProxy

InquiryProxy getInquiryProxy()
Return the configured InquiryProxy instance.

Returns:
InquiryProxy instance.

getPublicationProxy

PublicationProxy getPublicationProxy()
Return the configured PublicationProxy instance.

Returns:
PublicationProxy instance.

getServiceInfo

ServiceInfo getServiceInfo(java.lang.String name)
Return the named ServiceInfo instance.

Parameters:
name - String containing the name of the ServiceInfo that must be returned.
Returns:
ServiceInfo instance of null if it does not exist.

newAuthenticationContext

AuthenticationContext newAuthenticationContext()
                                               throws UDDIException
Create a new AuthenticationContext instance.

Returns:
AuthenticationContext instance.
Throws:
UDDIException - if the context cannot be created.

newAuthenticationContext

AuthenticationContext newAuthenticationContext(java.lang.String user,
                                               java.lang.String passwd)
                                               throws UDDIException
Create a new AuthenticationContext instance using the given user and password

Parameters:
user - User id to use.
passwd - Passwword to use.
Returns:
AuthenticationContext instance.
Throws:
UDDIException - if the context cannot be created.

discardAuthenticationContext

void discardAuthenticationContext(AuthenticationContext ctx)
Discard the given AuthenticationContext.

Parameters:
ctx - AuthenticationContext to discard.

getName

java.lang.String getName()
Return the name of this manager.

Returns:
String containing the name of this manager.

destroy

void destroy()
Destroy this manager instance.