Uses of Class
org.jafer.registry.RegistryException

Packages that use RegistryException
org.jafer.registry   
org.jafer.registry.model   
org.jafer.registry.uddi   
org.jafer.registry.uddi.model   
org.jafer.registry.web.struts.action   
 

Uses of RegistryException in org.jafer.registry
 

Subclasses of RegistryException in org.jafer.registry
 class InvalidAuthorisationDetailsException
          This exception is thrown when a username and credential failed to be authorised.
 class RegistryNotInitialisedException
          This exception is thrown when an expected TModel was not found.
 

Methods in org.jafer.registry that throw RegistryException
static RegistryManager RegistryFactory.createRegistryManager(java.lang.String inquiryURL, java.lang.String publishURL)
          This method creates a registry manager that manages an instance to the specified registry using the supplied URLs.
 void ServiceManager.deleteService(Service service)
          Deletes the specified service from the registry.
 void ServiceManager.deleteService(ServiceInfo serviceInfo)
          Deletes the specified service from the registry.
 void ServiceManager.deleteService(java.lang.String id)
          Deletes the specified service from the registry.
 void ServiceManager.deleteServiceProvider(ServiceProvider provider)
          Deletes the service provider details in the registry.
 void ServiceManager.deleteServiceProvider(ServiceProviderInfo providerInfo)
          Deletes the service provider details in the registry.
 void ServiceManager.deleteServiceProvider(java.lang.String id)
          Deletes the service provider details in the registry.
 java.util.List ServiceLocator.findService(Category category)
          Finds the services that have the supplied category attached
 java.util.List ServiceLocator.findService(Protocol protocol)
          Finds the services that support the supplied protocol
 java.util.List ServiceLocator.findService(ServiceProviderInfo serviceProviderInfo)
          Finds the services that match the supplied service provider info.
 java.util.List ServiceLocator.findService(ServiceProviderInfo serviceProviderInfo, java.lang.String name, java.util.List categories, java.util.List protocols, boolean useLogicalOR)
          This method allows services to be located by using all the possible search combinations.
 java.util.List ServiceLocator.findService(java.lang.String name)
          Finds the service that match the supplied name.
 java.util.List ServiceLocator.findServiceProvider(Category category)
          Finds the service providers that have the supplied category attached
 java.util.List ServiceLocator.findServiceProvider(Protocol protocol)
          Finds the service providers that have services supporting the supplied protocol
 java.util.List ServiceLocator.findServiceProvider(java.lang.String name)
          Finds the service providers that match the supplied name.
 java.util.List ServiceLocator.findServiceProvider(java.lang.String name, java.util.List categories, java.util.List protocols, boolean useLogicalOR)
          This method allows service providers to be located by using all the possible search combinations.
 Category RegistryManager.getCategory(CategoryType categoryType, java.lang.String value)
          This method returns an instance of a category with the defined value.
 Service ServiceLocator.getService(ServiceInfo serviceInfo)
          Retrieves the full service object for the supplied service info.
 Service ServiceLocator.getService(java.lang.String id)
          Gets the service from its unique ID
 ServiceLocator RegistryManager.getServiceLocator()
          This method creates a new service locator that has been enabled for searching the registry for service provides and available services.
 ServiceManager RegistryManager.getServiceManager(java.lang.String username, java.lang.String credential)
          This method returns a service manager that has been enbled for creating and maintaining service providers and services.
 ServiceProvider ServiceLocator.getServiceProvider(Service service)
          Gets the service provider that owns the service
 ServiceProvider ServiceLocator.getServiceProvider(ServiceProviderInfo providerInfo)
          Retrieves the full service provider object for the supplied service provider info.
 ServiceProvider ServiceLocator.getServiceProvider(java.lang.String id)
          Gets the service provider from its unique ID
 void RegistryManager.initialiseRegistry(java.lang.String username, java.lang.String credential)
          This method can be used to initialises the registry with the required support objects.
 Service ServiceLocator.refreshService(Service service)
          Returns the latest version of the service found.
 ServiceProvider ServiceLocator.refreshServiceProvider(ServiceProvider provider)
          Returns the latest version of the service provider found.
 Service ServiceManager.registerService(ServiceProvider provider, java.lang.String serviceName)
          This method registers a new service against a service provider.
 Service ServiceManager.registerService(ServiceProvider provider, java.lang.String serviceName, Protocol protocol, java.lang.String accessPoint)
          This method registers a new service against a service provider.
 ServiceProvider ServiceManager.registerServiceProvider(java.lang.String providerName)
          This method registers a new Service Provider to the registry.
 Service ServiceManager.updateService(Service service)
          Updates the specified service in the registry.
 ServiceProvider ServiceManager.updateServiceProvider(ServiceProvider provider)
          Updates the service provider details to the registry.
 

Uses of RegistryException in org.jafer.registry.model
 

Subclasses of RegistryException in org.jafer.registry.model
 class CategoryDoesNotExistException
          This is thrown when the user tries to delete a category that does not exist
 class InvalidLengthException
          This Exception is thrown when the value of a field exceeds its maximum length
 class InvalidNameException
          This Exception is thrown when no name or a blank name is supplied to a contact, service provider or service
 class ServiceDoesNotExistException
          This is thrown when the user tries to delete a business service that does not exist
 

Methods in org.jafer.registry.model that throw RegistryException
 java.lang.String Service.getAccessUrl(Protocol protocol)
          Returns the access url for the service.
 java.lang.String Service.getWSDLUrl(Protocol protocol)
          Returns the WSDL file for the service.
 void Service.setAccessUrl(Protocol protocol, java.lang.String url)
          Sets the access url for the service.
 void Service.setWSDLUrl(Protocol protocol, java.lang.String url)
          Sets the WSDL file for the service.
 boolean Service.supportsProtocol(Protocol protocol)
          This method checks the service to see if it supports the specified protocol
 

Uses of RegistryException in org.jafer.registry.uddi
 

Subclasses of RegistryException in org.jafer.registry.uddi
 class RegistryExceptionImpl
          This is the base class for all the Jafer UDDI Exceptions that can occur
 

Methods in org.jafer.registry.uddi that throw RegistryException
private  org.uddi4j.util.TModelBag ServiceLocator.buildTModelBag(java.util.List protocols)
          Builds a tmodel bag containg all the protocols tmodels to be used by the search
private  void TModelManager.buildTModelCache(org.uddi4j.client.UDDIProxy registryConnection, java.lang.String username, java.lang.String credential, boolean createIfNotFound)
          This method is responsible for building the cache of available TMOdels.
static org.uddi4j.datatype.binding.BindingTemplate ServiceManager.createBindingTemplate(TModelManager tModelManager, java.lang.String serviceKey, Protocol protocol, java.lang.String accessPointURL, java.lang.String accessPointType)
          static function that creates a Binding Template ready for registering with the UBR.
private  org.uddi4j.datatype.binding.BindingTemplate ServiceManager.createBindingTemplateForAccessPoint(java.lang.String serviceKey, Protocol protocol, java.lang.String accessPointURL, java.lang.String accessPointType)
          This method creates a binding template object in the registry so that it can be attached to the service
private  TModel TModelManager.createJaferTModel(org.uddi4j.client.UDDIProxy registryConnection, java.lang.String username, java.lang.String credential, boolean createIfNotFound, org.w3c.dom.Node jaferTModelNode)
          Creates a complete Jafer TModel that encapsulates the set of defined UDDI TModels.
 void ServiceManager.deleteService(Service service)
          Deletes the specified service from the registry.
 void ServiceManager.deleteService(ServiceInfo serviceInfo)
          Deletes the specified service from the registry.
 void ServiceManager.deleteService(java.lang.String id)
          Deletes the specified service from the registry.
 void ServiceManager.deleteServiceProvider(ServiceProvider provider)
          Deletes the service provider details in the registry.
 void ServiceManager.deleteServiceProvider(ServiceProviderInfo providerInfo)
          Deletes the service provider details in the registry.
 void ServiceManager.deleteServiceProvider(java.lang.String id)
          Deletes the service provider details in the registry.
private  void ServiceManager.discardAuthorisationToken(java.lang.String token)
          Discard authorisation token
 java.util.List ServiceLocator.findService(Category category)
          Finds the services that have the supplied category attached
 java.util.List ServiceLocator.findService(Protocol protocol)
          Finds the services that support the supplied protocol
 java.util.List ServiceLocator.findService(ServiceProviderInfo serviceProviderInfo)
          Finds the services that match the supplied service provider info.
 java.util.List ServiceLocator.findService(ServiceProviderInfo serviceProviderInfo, java.lang.String name, java.util.List categories, java.util.List protocols, boolean useLogicalOR)
          This method allows services to be located by using all the possible search combinations.
 java.util.List ServiceLocator.findService(java.lang.String name)
          Finds the service that match the supplied name.
 java.util.List ServiceLocator.findServiceProvider(Category category)
          Finds the service providers that have the supplied category attached
 java.util.List ServiceLocator.findServiceProvider(Protocol protocol)
          Finds the service providers that have services supporting the supplied protocol
 java.util.List ServiceLocator.findServiceProvider(java.lang.String name)
          Finds the service providers that match the supplied name.
 java.util.List ServiceLocator.findServiceProvider(java.lang.String name, java.util.List categories, java.util.List protocols, boolean useLogicalOR)
          This method allows service providers to be located by using all the possible search combinations.
private  java.lang.String ServiceManager.getAuthorisationToken()
          Obtain a new authorisation token
 Category RegistryManager.getCategory(CategoryType categoryType, java.lang.String value)
          This method returns an instance of a category with the defined value.
 TModel TModelManager.getCategoryTModel(CategoryType categoryType)
          This method returns a TModel representing the category type
 TModel TModelManager.getProtocolTModel(Protocol protocol)
          This method returns a TModel representing the protocol
 Service ServiceLocator.getService(ServiceInfo serviceInfo)
          Retrieves the full service object for the supplied service info.
 Service ServiceLocator.getService(java.lang.String id)
          Gets the service from its unique ID
 ServiceLocator RegistryManager.getServiceLocator()
          This method creates a new service locator that has been enabled for searching the registry for service provides and available services.
 ServiceManager RegistryManager.getServiceManager(java.lang.String username, java.lang.String credential)
          This method returns a service manager that has been enbled for creating and maintaining service providers and services.
 ServiceProvider ServiceLocator.getServiceProvider(Service service)
          Gets the service provider that owns the service
 ServiceProvider ServiceLocator.getServiceProvider(ServiceProviderInfo providerInfo)
          Retrieves the full service provider object for the supplied service provider info.
 ServiceProvider ServiceLocator.getServiceProvider(java.lang.String id)
          Gets the service provider from its unique ID
private  TModelManager RegistryManager.getTModelManager()
          Returns a fully initialised TModel Manager.
 void RegistryManager.initialiseRegistry(java.lang.String username, java.lang.String credential)
          This method can be used to initialises the registry with the required support objects.
private  org.uddi4j.datatype.tmodel.TModel TModelManager.publishTModel(org.uddi4j.client.UDDIProxy registryConnection, java.lang.String username, java.lang.String credential, java.lang.String name, java.lang.String description, java.lang.String docURL)
          This method creates the TModel in the registry and then returns it.
 Service ServiceLocator.refreshService(Service service)
          Returns the latest version of the service found.
 ServiceProvider ServiceLocator.refreshServiceProvider(ServiceProvider provider)
          Returns the latest version of the service provider found.
 Service ServiceManager.registerService(ServiceProvider provider, java.lang.String serviceName)
          This method registers a new service against a service provider.
 Service ServiceManager.registerService(ServiceProvider provider, java.lang.String serviceName, Protocol protocol, java.lang.String accessPoint)
          This method registers a new service against a service provider.
 ServiceProvider ServiceManager.registerServiceProvider(java.lang.String providerName)
          This method registers a new Service Provider to the registry.
private  org.uddi4j.datatype.tmodel.TModel TModelManager.retrieveTModel(org.uddi4j.client.UDDIProxy registryConnection, java.lang.String key)
          This method creates the TModel by retrieving it from the UDDI registry
 Service ServiceManager.updateService(Service service)
          Updates the specified service in the registry.
 ServiceProvider ServiceManager.updateServiceProvider(ServiceProvider provider)
          Updates the service provider details to the registry.
 

Constructors in org.jafer.registry.uddi that throw RegistryException
RegistryManager(java.lang.String inquiryURL, java.lang.String publishURL)
          Constructor for the Registry Manager.
ServiceManager(org.uddi4j.client.UDDIProxy registryConnection, TModelManager tModelManager, java.lang.String username, java.lang.String credential)
          Constructor for the service manger.
TModelManager(org.uddi4j.client.UDDIProxy registryConnection)
          This constructor assumes that all TModels are set up already in the registry and hence searches to find the required keys only.
TModelManager(org.uddi4j.client.UDDIProxy registryConnection, java.lang.String username, java.lang.String credential)
          This constructor assumes that all TModels are not set up in the registry and hence attempts to define them if it is unable to locate them first.
 

Uses of RegistryException in org.jafer.registry.uddi.model
 

Methods in org.jafer.registry.uddi.model that throw RegistryException
private  java.lang.String BusinessService.getAccessPointURL(Protocol protocol, java.lang.String accessPointType)
          Returns the URL for the specified protocol access point
 java.lang.String BusinessService.getAccessUrl(Protocol protocol)
          Returns the access url for the service.
 java.lang.String BusinessService.getWSDLUrl(Protocol protocol)
          Returns the WSDL file for the service.
private  boolean BusinessService.isAccessPointType(org.uddi4j.datatype.binding.BindingTemplate template, Protocol protocol, java.lang.String accessPointType)
          This method checks the template to see if it describes the specified access point type.
private  void BusinessService.setAccessPointURL(Protocol protocol, java.lang.String accessPointType, java.lang.String url)
          sets the URL for the specified protocol access point
 void BusinessService.setAccessUrl(Protocol protocol, java.lang.String url)
          Sets the access url for the service.
 void BusinessService.setWSDLUrl(Protocol protocol, java.lang.String url)
          Sets the WSDL file for the service.
private  boolean BusinessService.supportsProtocol(org.uddi4j.datatype.binding.BindingTemplate template, Protocol protocol)
          This method checks the template to see if it supports the specified protocol
 boolean BusinessService.supportsProtocol(Protocol protocol)
          This method checks the service to see if it supports the specified protocol
 

Uses of RegistryException in org.jafer.registry.web.struts.action
 

Methods in org.jafer.registry.web.struts.action that throw RegistryException
 org.apache.struts.action.ActionForward ViewServiceAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward ViewProviderServicesAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward ViewProviderAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward UpdateServiceAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward UpdateProviderAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward UpdateAccessPointAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward SetReturnPageAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward SetNewTokenAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward SearchServiceAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward SearchProviderAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward SearchAccessPointAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward RequiresLogonAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward RemoveServiceAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward RemoveCategoryAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward RemoveAccessPointAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward RelayAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward LogonAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward LogoffAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward GetReturnPageAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward GetProtocolTypesAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward GetCategoryTypesAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward GetCategoryProtocolTypesAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward GetAccessPointAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward DeleteServiceAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward DeleteProviderAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward CreateServiceAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward CreateProviderAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward CheckLogonStatusAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward AddServiceAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward AddCategoryAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
 org.apache.struts.action.ActionForward AddAccessPointAction.execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Execute the action
protected  RegistryManager JaferRegistryAction.getRegistryManager()
          Get the registry manager creating it if it does not exist
protected  ServiceLocator JaferRegistryAction.getServiceLocator()
          Get the service locator creating it if it does not exist
protected  ServiceManager JaferRegistryAction.getServiceManager()
          Get the service manager
 void JaferRegistryAction.initAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Saves all the paramaters for use