Class RegistryServiceImpl

  • All Implemented Interfaces:
    javax.xml.registry.RegistryService

    public class RegistryServiceImpl
    extends Object
    implements javax.xml.registry.RegistryService
    Implementation class for RegistryService
    Author:
    Farrukh S. Najmi
    See Also:
    RegistryService
    • Method Detail

      • getUDDIMapper

        public UDDIMapper getUDDIMapper()
      • getServiceId

        public String getServiceId()
      • getCapabilityProfile

        public javax.xml.registry.CapabilityProfile getCapabilityProfile()
                                                                  throws javax.xml.registry.JAXRException
        Returns the CapabilityProfile for the JAXR provider
        Specified by:
        getCapabilityProfile in interface javax.xml.registry.RegistryService
        Throws:
        javax.xml.registry.JAXRException
        See Also:
        <{LifeCycleManager}>
      • getBusinessLifeCycleManager

        public javax.xml.registry.BusinessLifeCycleManager getBusinessLifeCycleManager()
                                                                                throws javax.xml.registry.JAXRException
        Returns the BusinessLifeCycleManager interface implemented by the JAXR provider
        Specified by:
        getBusinessLifeCycleManager in interface javax.xml.registry.RegistryService
        Throws:
        javax.xml.registry.JAXRException
        See Also:
        <{LifeCycleManager}>
      • getBusinessQueryManager

        public javax.xml.registry.BusinessQueryManager getBusinessQueryManager()
                                                                        throws javax.xml.registry.JAXRException
        Returns the BusinessQueryManager interface implemented by the JAXR provider
        Specified by:
        getBusinessQueryManager in interface javax.xml.registry.RegistryService
        Throws:
        javax.xml.registry.JAXRException
      • getLifeCycleManager

        public javax.xml.registry.LifeCycleManager getLifeCycleManager()
                                                                throws javax.xml.registry.JAXRException
        Returns the basic LifeCycleManager interface implemented by the JAXR provider

        Capability Level: 0
        Throws:
        javax.xml.registry.JAXRException
      • getDeclarativeQueryManager

        public javax.xml.registry.DeclarativeQueryManager getDeclarativeQueryManager()
                                                                              throws javax.xml.registry.JAXRException,
                                                                                     javax.xml.registry.UnsupportedCapabilityException
        Returns the DeclarativeQueryManager interface implemented by the JAXR provider Capbility level 0 registries should throws UnsupportedCapabilityException.

        Capability Level: 1
        Specified by:
        getDeclarativeQueryManager in interface javax.xml.registry.RegistryService
        Throws:
        javax.xml.registry.JAXRException
        javax.xml.registry.UnsupportedCapabilityException
      • makeRegistrySpecificRequest

        public String makeRegistrySpecificRequest​(String request)
                                           throws javax.xml.registry.JAXRException
        This method takes a String that is an XML request in a registry specific format. It sends the request to the registry and returns a String that is the registry specific XML response.

        Capability Level: 0
        Specified by:
        makeRegistrySpecificRequest in interface javax.xml.registry.RegistryService
        Returns:
        String that is the XML response in a registry specific manner.
        Throws:
        javax.xml.registry.JAXRException
      • getDefaultPostalScheme

        public javax.xml.registry.infomodel.ClassificationScheme getDefaultPostalScheme()
                                                                                 throws javax.xml.registry.JAXRException
        Specified by:
        getDefaultPostalScheme in interface javax.xml.registry.RegistryService
        Throws:
        javax.xml.registry.JAXRException
      • getBulkResponse

        public javax.xml.registry.BulkResponse getBulkResponse​(String requestId)
                                                        throws javax.xml.registry.JAXRException
        Returns the BulkResponse associated with specified requestId. Throws JAXRException if no responses exist for specified requestId.
        Specified by:
        getBulkResponse in interface javax.xml.registry.RegistryService
        Throws:
        javax.xml.registry.JAXRException
      • jaxmSend

        public javax.xml.soap.SOAPBody jaxmSend​(javax.xml.soap.SOAPMessage msg,
                                                boolean secure)
                                         throws javax.xml.registry.JAXRException
        Throws:
        javax.xml.registry.JAXRException
      • send

        public Node send​(javax.xml.soap.SOAPMessage doc,
                         boolean secure)
                  throws javax.xml.registry.JAXRException
        Currently, default is to use jaxm. Can use soap4j by setting "useSOAP" property to true on connection factory or with -DuseSOAP=true for all connections. This is temporary while we're working on jaxm issues.
        Throws:
        javax.xml.registry.JAXRException
      • getCurrentUser

        public String getCurrentUser()